<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
   <channel>
      <title>Alejandro Vargas&apos; Blog</title>
      <link>http://blogs.oracle.com/AlejandroVargas/</link>
      <description></description>
      <language>en-US</language>
      <copyright>Copyright 2009</copyright>
      <lastBuildDate>Sat, 12 Sep 2009 10:37:41 -0800</lastBuildDate>
      <generator>http://www.sixapart.com/movabletype/</generator>
      <docs>http://blogs.law.harvard.edu/tech/rss</docs> 

      
      <item>
         <title>ASM Hands-On Training, Server Enviroment Setup And Aliases</title>
         <description><![CDATA[<p>The server where the labs of the ASM Hands-On Training works is configured with tcsh as the default oracle user shell. </p>

<p>A .cshrc file containing several aliases was setup to easy moving around and executing repetitive commands.</p>

<p>On this document there is a general explanation of how the environment can be used.</p>

<p>Details on this file: <span class="mt-enclosure mt-enclosure-file" style="display: inline;"><a href="http://blogs.oracle.com/AlejandroVargas/2009/09/12/asmhandson/Servers-Enviroment-and-Aliases.pdf">Server Enviroment Setup And Aliases</a></span></p>]]></description>
         <link>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_server_e.html</link>
         <guid>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_server_e.html</guid>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">ASM .CSHRC ENVIRONMENT SETUP</category>
        
         <pubDate>Sat, 12 Sep 2009 10:37:41 -0800</pubDate>
      </item>
      
      <item>
         <title>ASM Hands-On Training, Lab 21, ASMCMD Use And Options</title>
         <description><![CDATA[<p>On this lab we will review some of the useful set of commands provided by the ASM command line utility.</p>

<p>Some of the asmcmd commands display information, these information is based on v$asm views, other commands actually make changes to the structure like mkdir or rm.</p>

<p>Details on file: <span class="mt-enclosure mt-enclosure-file" style="display: inline;"><a href="http://blogs.oracle.com/AlejandroVargas/2009/09/12/asmhandson/Lab21-ASMCMD-Use-And-Options.pdf">ASMCMD Use And Options</a></span></p>]]></description>
         <link>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_lab_21_a.html</link>
         <guid>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_lab_21_a.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category">ASM</category>
        
          <category domain="http://www.sixapart.com/ns/types#category">ASM Administration</category>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">ASM ASMCMD</category>
        
         <pubDate>Sat, 12 Sep 2009 10:27:57 -0800</pubDate>
      </item>
      
      <item>
         <title>ASM Hands-On Training, Lab 20, Storage Consolidation With ASM</title>
         <description><![CDATA[<p>On this lab we will share our ASM disks with a second server and we will open the sati12 database on it.</p>

<p>To do that we copied the vm to another location, without including the ASM disks, that are located on a separate folder, this way the second vm is pointing to the same ASM disks as the first one.</p>

<p>Details on file: <span class="mt-enclosure mt-enclosure-file" style="display: inline;"><a href="http://blogs.oracle.com/AlejandroVargas/2009/09/12/asmhandson/Lab20-Storage-Consolidation-With-ASM.pdf">Storage Consolidation With ASM</a></span></p>]]></description>
         <link>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_lab_20_s.html</link>
         <guid>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_lab_20_s.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category">ASM</category>
        
          <category domain="http://www.sixapart.com/ns/types#category">ASM Administration</category>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">ASM STORAGE CONSOLIDATION</category>
        
         <pubDate>Sat, 12 Sep 2009 10:22:30 -0800</pubDate>
      </item>
      
      <item>
         <title>ASM Hands-On Training, Lab18, ASM Metadata and Other Checkups</title>
         <description><![CDATA[<p>On this lab we will review various utilities that provide further information for managing ASM.</p>

<p>Checksum Mismatch After Storage Crash, AMDU an 11g tool that can be used with 10g as well, Blockdumps, Asmiostats and asmdebug</p>

<p>Details on this file: <span class="mt-enclosure mt-enclosure-file" style="display: inline;"><a href="http://blogs.oracle.com/AlejandroVargas/2009/09/12/asmhandson/Lab18-ASM-Metadata-and-Other-Checkups.pdf">ASM Metadata and Other Checkups</a></span></p>]]></description>
         <link>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_lab18_as.html</link>
         <guid>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_lab18_as.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category">ASM</category>
        
          <category domain="http://www.sixapart.com/ns/types#category">ASM Administration</category>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">ASM AMDU BLOCKDUMPS ASMIOSTATS ASMDEBUG</category>
        
         <pubDate>Sat, 12 Sep 2009 10:01:47 -0800</pubDate>
      </item>
      
      <item>
         <title>ASM Hands-On Training, Lab 17, Measuring Throughput</title>
         <description><![CDATA[<p>On this lab we will review simple methods for getting input about the the database througput and response time. </p>

<p>We will produce the load using swingbench and we will gather AWR snapshots every 10 minutes. After some time we will be able to check througput statistics based on the AWR snapshots information.</p>

<p>Details on this Document: <span class="mt-enclosure mt-enclosure-file" style="display: inline;"><a href="http://blogs.oracle.com/AlejandroVargas/2009/09/12/asmhandson/Lab17-Measuring-Throughput.pdf">Measuring Throughput</a></span></p>

<p>Another useful script for checking IO:</p>

<p>set pages 50000 lines 250<br />
alter session set nls_date_format='dd-mm-yy hh24:mi';<br />
spool chkio1-Physical-rw.log<br />
select min(begin_time), max(end_time),<br />
sum(case metric_name when 'Physical Read Total Bytes Per Sec' then average end) Physical_Read_Total_Bps,<br />
sum(case metric_name when 'Physical Write Total Bytes Per Sec' then average end) Physical_Write_Total_Bps,<br />
snap_id<br />
from dba_hist_sysmetric_summary<br />
group by snap_id<br />
order by snap_id;<br />
spool off</p>

<p></p>

<p>select min(begin_time), max(end_time),<br />
sum(case metric_name when 'Physical Read Total Bytes Per Sec' then maxval end) Physical_Read_Total_Bps,<br />
sum(case metric_name when 'Physical Write Total Bytes Per Sec' then maxval end) Physical_Write_Total_Bps,<br />
sum(case metric_name when 'Physical Read Total Bytes Per Sec' then maxval end) +<br />
sum(case metric_name when 'Physical Write Total Bytes Per Sec' then maxval end) Total_IO,<br />
snap_id<br />
from dba_hist_sysmetric_summary<br />
group by snap_id<br />
order by snap_id<br />
/</p>]]></description>
         <link>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_lab_17_m.html</link>
         <guid>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_lab_17_m.html</guid>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">ASM THROUGHPUT</category>
        
         <pubDate>Sat, 12 Sep 2009 08:55:15 -0800</pubDate>
      </item>
      
      <item>
         <title>ASM Hands-On Training, Lab 16, Configuring And Running Swingbench And OSWatcher</title>
         <description><![CDATA[<p>Whenever implementing new environments it is convenient to run stress tests and to gather OS statistics that will provide valuable diagnostics information.</p>

<p>Swingbench provide an easy configurable tool to run oltp or dss like stress tests; that is very useful when the customer does not have any possibility to benchmark the new configuration.</p>

<p>Oswatcher will collect statistics from the OS in a cyclic 2-day period by default, which can be extended to whatever period is convenient for you.</p>

<p>Details on this file:<br />
<span class="mt-enclosure mt-enclosure-file" style="display: inline;"><a href="http://blogs.oracle.com/AlejandroVargas/2009/09/12/asmhandson/Lab16-Configure-SwingBench-and-OsWatcher.pdf">Lab16-Configure-SwingBench-and-OsWatcher.pdf</a></span></p>]]></description>
         <link>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_lab_16_c.html</link>
         <guid>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_lab_16_c.html</guid>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">ASM OSWATCHER SWINGBENCH</category>
        
         <pubDate>Sat, 12 Sep 2009 06:02:37 -0800</pubDate>
      </item>
      
      <item>
         <title>ASM Hands-On Training, Lab 15, Cloning A Disk Group</title>
         <description><![CDATA[<p>Sometimes it is required having several clones of the same database running on the same server. That was simple to do when the database was based on File System, and is still simple to do with the help of Rman.</p>

<p>But there are very large databases, which are usually cloned using storage tools like bcv, srdf or snapshots that cannot consider Rman as a viable possibility.</p>

<p>For these databases there is the possibility to implement the procedure we will test on this lab.</p>

<p>Note that the rename disk group script has not been made public. <br />
The rename disk group functionality is available on 11g R2 that was made available to the general public on August 2009.<br />
 <br />
These are the steps required to complete the process:</p>

<p>1. Prepare a set of storage devices with enough space to hold a copy of the diskgroup to be copied<br />
2. Shutdown the source database<br />
3. Make a bit by bit copy of the source database on the target devices<br />
4. Add kfed path to the path of user root<br />
5. Execute the rename diskgroup script<br />
6. Rename ASM disks of the cloned devices<br />
7. Rescan ASM disks<br />
8. Start the ASM instance and mount the new diskgroup<br />
9. Recreate the controlfile and rename the database based on the cloned diskgroup<br />
10.Open the clone with the resetlogs option</p>

<p>Details on this file:<br />
<span class="mt-enclosure mt-enclosure-file" style="display: inline;"><a href="http://blogs.oracle.com/AlejandroVargas/2009/09/12/asmhandson/Lab15b-Cloning-Disk-Group.pdf">Cloning Disk Group</a></span></p>]]></description>
         <link>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_lab_15_c.html</link>
         <guid>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_lab_15_c.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category">ASM</category>
        
          <category domain="http://www.sixapart.com/ns/types#category">ASM Administration</category>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">ASM DISKGROUP CLONE</category>
        
         <pubDate>Sat, 12 Sep 2009 05:16:55 -0800</pubDate>
      </item>
      
      <item>
         <title>ASM Hands-On Training, Lab 14, 11g Compatibility Parameters and Resilience Test</title>
         <description><![CDATA[<p>On this lab we will make a review of the 11g Compatibility Parameters and 3 Resilience Tests</p>

<p>The compatibility parameters compatible.asm and compatible.rdbms define the minimum ASM and database versions that will be able to connect to a disk group. These parameters can be advanced only</p>

<p>On the resilience probe we will do the following tests</p>

<ul>
	<li>· Add ASM disks and bring down the ASM instance on the middle of the operation</li>
	<li>· Remove ASM disks and bring down the ASM instance on the middle of the operation</li>
	<li>· Destroy the ASM metadata and restore the disk</li>
</ul>

<p>Details on this file:<br />
<span class="mt-enclosure mt-enclosure-file" style="display: inline;"><a href="http://blogs.oracle.com/AlejandroVargas/2009/09/12/asmhandson/Lab14-11g-Compatibility-Parameters-and-Resilience-Test.pdf">11g Compatibility Parameters and Resilience Test</a></span></p>]]></description>
         <link>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_lab_14_1.html</link>
         <guid>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_lab_14_1.html</guid>
        
        
         <pubDate>Sat, 12 Sep 2009 02:48:37 -0800</pubDate>
      </item>
      
      <item>
         <title>ASM Hands-On Training, Lab 13, ASM And Rman: Crash, Restore And Recovery Scenarios</title>
         <description><![CDATA[<p>On this Lab we will review the following crash and recovery scenarios, and we will implement some of them:</p>

<ul>
	<li>· System tablespace loss</li>
	<li>· Recover system tablespace</li>
	<li>· User datafile loss</li>
	<li>· Recover users tablespace</li>
	<li>· Online redo loss</li>
	<li>· Recover from redo loss</li>
	<li>· Controlfile loss</li>
	<li>· Recover from controlfile loss</li>
	<li>· Database loss</li>
	<li>· Recover from total loss</li>
</ul>

<p>Details on this file<br />
<span class="mt-enclosure mt-enclosure-file" style="display: inline;"><a href="http://blogs.oracle.com/AlejandroVargas/2009/09/12/asmhandson/Lab13-ASM-and-Rman-Crash-Restore-and-Recovery-Scenarios.pdf">ASM and Rman Crash Restore and Recovery Scenarios</a></span></p>]]></description>
         <link>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_lab_13_a.html</link>
         <guid>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_lab_13_a.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category">ASM</category>
        
          <category domain="http://www.sixapart.com/ns/types#category">ASM Administration</category>
        
          <category domain="http://www.sixapart.com/ns/types#category">RMAN</category>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">ASM BACKUP RECOVERY RMAN</category>
        
         <pubDate>Sat, 12 Sep 2009 02:39:46 -0800</pubDate>
      </item>
      
      <item>
         <title>ASM Hands-On Training, Labs 11 and 12 : Restoring A Lost Database From Backup And Cleanup File Based ASM Diskgroups</title>
         <description><![CDATA[<p>To work on the 11g part of the Labs we will start restoring an 11g database we have on a backup.<br />
The backup consist of an incremental level 0 backupset, a controlfile and spfile backup and the archived logs required to recover the database.</p>

<p>The restore is done in 6 steps<br />
 · Re-create the ASM metada<br />
 · Restore the spfile<br />
 · Restore the controlfile<br />
 · Restore the datafiles<br />
 · Recover the database<br />
 · Open resetlogs</p>

<p>This is covered on this file:<br />
<span class="mt-enclosure mt-enclosure-file" style="display: inline;"><a href="http://blogs.oracle.com/AlejandroVargas/2009/09/12/asmhandson/Lab11-Restoring-a-Lost-Database-From-Backup.pdf">Restoring a Lost Database From Backup</a></span></p>

<p>On the previous Labs we created ASM disks based on OS Files, before continuing with the next labs we need to  clear them.</p>

<p>This is explained on this file:<br />
<span class="mt-enclosure mt-enclosure-file" style="display: inline;"><a href="http://blogs.oracle.com/AlejandroVargas/2009/09/12/asmhandson/Lab12-Cleanup-File-based-ASM-Diskgroups.pdf">Cleanup File based ASM Diskgroups</a></span><br />
</p>]]></description>
         <link>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_labs_11.html</link>
         <guid>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_labs_11.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category">ASM</category>
        
          <category domain="http://www.sixapart.com/ns/types#category">ASM Administration</category>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">ASM RESTORE CLEANUP</category>
        
         <pubDate>Sat, 12 Sep 2009 00:41:07 -0800</pubDate>
      </item>
      
      <item>
         <title>ASM Hands-On Training, Lab 10, Migrating From 10g ASM To 11g</title>
         <description><![CDATA[<p>In this Lab we will migrate our 10g Disk Groups to 11g.</p>

<p>The first steps of the migration, Installing 11.1.0.6 on it's own Oracle Home and applying patch 11.1.0.7 are ready on this environment, so we can go ahead with the migration process.</p>

<p>In this lab we will migrate only ASM, the database migration is a little longer for the time frame we have so we will continue by moving to ASM an 11g database that already exist on this server.</p>

<p>Details on this document:<br />
<span class="mt-enclosure mt-enclosure-file" style="display: inline;"><a href="http://blogs.oracle.com/AlejandroVargas/2009/09/12/asmhandson/Lab10-Migrating-10gASM-to-11g.pdf">Migrating 10g ASM to 11g</a></span></p>]]></description>
         <link>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_lab_10_m.html</link>
         <guid>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_lab_10_m.html</guid>
        
        
         <pubDate>Fri, 11 Sep 2009 23:57:47 -0800</pubDate>
      </item>
      
      <item>
         <title>ASM Hands-On Training, Lab 9, Migrating Raw And Block Devices To ASMLib</title>
         <description><![CDATA[<p>ASMLib is best practice for managing ASM on Linux, it may happen that a database server that was configured a couple of years ago with ASM 10g R1 is still using raw devices, or that a new ASM 10g R2 or even 11g was configured using block devices instead of ASMLib.</p>

<p>ASMLib provides global open close call that will improve performance and transparently implement device labeling, an important aspect when managing storage on Linux.</p>

<p>This lab explain the procedure to migrate these devices to ASMLib.</p>

<p>Details on this document:<br />
<span class="mt-enclosure mt-enclosure-file" style="display: inline;"><a href="http://blogs.oracle.com/AlejandroVargas/asmhandson/Lab9-Migrating-Raw-and-Block-Devices-to-ASMLib.pdf">Migrating Raw and Block Devices to ASMLib</a></span></p>]]></description>
         <link>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_lab_9_mi.html</link>
         <guid>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_lab_9_mi.html</guid>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">ASM ASMLib Migration</category>
        
         <pubDate>Fri, 11 Sep 2009 23:50:34 -0800</pubDate>
      </item>
      
      <item>
         <title>ASM Hands-On Training, Lab 8, Configure XDB for ASM Access Through FTP and HTML</title>
         <description><![CDATA[<p>The use of ftp and html add flexibility to manage the ASM environment, here a brief description of how to implement this configuration.</p>

<p>XDB enable use of FTP and HTML protocols to access and manage files located on ASM disksgroups. </p>

<p>Files can be easily browsed or moved in/out from ASM this way. This option is available only when the database is fully available.</p>

<p>Details on this document:</p>

<p><span class="mt-enclosure mt-enclosure-file" style="display: inline;"><a href="http://blogs.oracle.com/AlejandroVargas/2009/09/11/asmhandson/Lab8-Configure-XDB-for-ASM-Access-Through-FTP-and-HTML.pdf">Configure XDB for ASM Access Through FTP and HTML</a></span></p>

<p><br />
</p>]]></description>
         <link>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_lab_8_co.html</link>
         <guid>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_lab_8_co.html</guid>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">ASM FTP HTML</category>
        
         <pubDate>Fri, 11 Sep 2009 23:43:40 -0800</pubDate>
      </item>
      
      <item>
         <title>ASM Hands-On Training, Lab 7, 10g Normal Redundancy, Resilience Test-</title>
         <description><![CDATA[<p>For Databases requiring normal redundancy I definitively recommend 11g instead of 10g, because the fast mirror resynchronization new feature that makes possible to reinstate a failed disk without requiring to rebuild it as is the case on 10g.</p>

<p>This Hands ON series move on a later lab the database to 11g to test this options. In this lab we still work with 10g.<br />
 <br />
Normal Redundancy on 10g provides protection against disk failures, but it does require for the failed disk to be reconfigured after failure.</p>

<p>On this lab we will simulate a disk failure and then we will restore the failed disk</p>

<p>Details on this document: <br />
<span class="mt-enclosure mt-enclosure-file" style="display: inline;"><a href="http://blogs.oracle.com/AlejandroVargas/2009/09/11/asmhandson/Lab7-Normal-Redundancy-Resilience-Test-10g.pdf">Normal Redundancy Resilience Test 10g</a></span></p>]]></description>
         <link>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_lab_7_10.html</link>
         <guid>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_lab_7_10.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category">ASM</category>
        
          <category domain="http://www.sixapart.com/ns/types#category">Data Guard</category>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">ASM RESILIENCE &quot;NORMAL REDUNDANCY&quot;</category>
        
         <pubDate>Fri, 11 Sep 2009 23:29:46 -0800</pubDate>
      </item>
      
      <item>
         <title>ASM Hands-On Training, Lab 6, Looking into PST Metadata</title>
         <description><![CDATA[<p>This lab looks into the  ASM disk header section that contain the Partnership and Status Table, the PST. <br />
I have found in some limited occasions, specially following storage crashes that result in problems to mount the ASM disk groups, that looking into the PST may help to clarify the extent of the damage and asses if we need to go for a backup or not.</p>

<p>The lab can be found on this document: <br />
<span class="mt-enclosure mt-enclosure-file" style="display: inline;"><a href="http://blogs.oracle.com/AlejandroVargas/ASMLABS/Lab6-Looking-into-PST-Metadata.pdf">Looking into PST Metadata</a></span></p>

<p>Note that when reading the Metadata to seee the PST you must add to the kfed command the parameter "aunum = 1", that is written in the guide but is not clear enough.</p>]]></description>
         <link>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_lab_6_lo.html</link>
         <guid>http://blogs.oracle.com/AlejandroVargas/2009/09/asm_hands-on_training_lab_6_lo.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category">RAC</category>
        
        
         <pubDate>Fri, 11 Sep 2009 23:09:46 -0800</pubDate>
      </item>
      
   </channel>
</rss>
