tag:blogger.com,1999:blog-46095318216812081362024-03-13T08:01:29.748-07:00Oracle En EspañolUn Blog para principiantes en Oracle, y como si no fuera obvio por el titulo esta en español!Anonymoushttp://www.blogger.com/profile/16707526771327328274noreply@blogger.comBlogger115125tag:blogger.com,1999:blog-4609531821681208136.post-41169353430797896622017-04-21T11:16:00.001-06:002017-04-21T11:16:52.079-06:00Me cambie a rene-ace.comEsta es la ultima entrada que hago en blogspot, mas no significa que es la ultima entrada en mi blog , solamente me estoy mudando a <a href="http://rene-ace.com/">rene-ace.com</a> , en donde encontraras no solo entradas en español tambien en ingles y otras cosas a las que me dedico .<br />
<br />
Te espero por alla :)Anonymoushttp://www.blogger.com/profile/16707526771327328274noreply@blogger.com4tag:blogger.com,1999:blog-4609531821681208136.post-65698419893797191672017-04-17T19:51:00.000-06:002017-04-17T19:51:40.154-06:00Error ORA-01033 después de realizar un switchover en un ambiente 12.1 RACPrincipalmente escribo este post para no olvidarme de este error, así que será un pequeño post. El otro día hice una switchover en un ambiente de RAC, que fue bastante fácil, pero después de hacer el switchover, en la Base de datos primaria continua recibiendo el siguiente error:
<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #008800; font-weight: bold;">select</span> dest_name,status,error <span style="color: #008800; font-weight: bold;">from</span> gv<span style="background-color: #ffaaaa; color: red;">$</span>archive_dest_status <span style="color: #008800; font-weight: bold;">where</span> dest_id<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">2</span>;
DEST_NAME
<span style="color: #888888;">--------------------------------------------------------------------------------</span>
STATUS ERROR
<span style="color: #888888;">--------- -----------------------------------------------------------------</span>
LOG_ARCHIVE_DEST_2
ERROR ORA<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">01033</span>: ORACLE initialization <span style="color: #008800; font-weight: bold;">or</span> shutdown <span style="color: #008800; font-weight: bold;">in</span> progress
LOG_ARCHIVE_DEST_2
ERROR ORA<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">01033</span>: ORACLE initialization <span style="color: #008800; font-weight: bold;">or</span> shutdown <span style="color: #008800; font-weight: bold;">in</span> progress
</pre>
</div>
<br />
Así que fui y verifique la base de datos standby, y vi que estaba en modo de recuperación y esperando el redo log<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">PROCESS STATUS CLIENT_P CLIENT_PID THREAD<span style="color: #333333;">#</span> SEQUENCE<span style="color: #333333;">#</span> BLOCK<span style="color: #333333;">#</span> ACTIVE_AGENTS KNOWN_AGENTS
<span style="color: #888888;">------- ------------ -------- ---------- ---------------- ---------------- ---------------- ---------------- ----------------</span>
ARCH CONNECTED ARCH <span style="color: #0000dd; font-weight: bold;">44474</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span>
RFS IDLE ARCH <span style="color: #0000dd; font-weight: bold;">133318</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span>
RFS IDLE ARCH <span style="color: #0000dd; font-weight: bold;">50602</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span>
ARCH CLOSING ARCH <span style="color: #0000dd; font-weight: bold;">44470</span> <span style="color: #0000dd; font-weight: bold;">1</span> <span style="color: #0000dd; font-weight: bold;">21623</span> <span style="color: #0000dd; font-weight: bold;">14336</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span>
ARCH CLOSING ARCH <span style="color: #0000dd; font-weight: bold;">44476</span> <span style="color: #0000dd; font-weight: bold;">1</span> <span style="color: #0000dd; font-weight: bold;">21624</span> <span style="color: #0000dd; font-weight: bold;">1</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span>
ARCH CLOSING ARCH <span style="color: #0000dd; font-weight: bold;">44472</span> <span style="color: #0000dd; font-weight: bold;">2</span> <span style="color: #0000dd; font-weight: bold;">19221</span> <span style="color: #0000dd; font-weight: bold;">96256</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span>
RFS IDLE LGWR <span style="color: #0000dd; font-weight: bold;">133322</span> <span style="color: #0000dd; font-weight: bold;">1</span> <span style="color: #0000dd; font-weight: bold;">21625</span> <span style="color: #0000dd; font-weight: bold;">17157</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span>
RFS IDLE LGWR <span style="color: #0000dd; font-weight: bold;">50620</span> <span style="color: #0000dd; font-weight: bold;">2</span> <span style="color: #0000dd; font-weight: bold;">19222</span> <span style="color: #0000dd; font-weight: bold;">36611</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span>
MRP0 WAIT_FOR_LOG N<span style="color: #333333;">/</span>A N<span style="color: #333333;">/</span>A <span style="color: #0000dd; font-weight: bold;">2</span> <span style="color: #0000dd; font-weight: bold;">19222</span> <span style="color: #0000dd; font-weight: bold;">36617</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span>
</pre>
</div>
<br />
Así que lo primero que pensé fue que el archivo de contraseña estaba incorrecto, así que los recreé y los copié desde el nodo primario a los nodos en de la base de datos en standby, pero seguí recibiendo el mismo error. Revisé el entorno con los scripts en el DOC ID 1581388.1 de MOS y todo parecía estar bien.<br />
<br />
Me molestó que los registros no se estaban aplicando a pesar de que los registros estaban siendo enviados a la base de datos standby, por lo que tenía que ver con el archivo de contraseña, pero lo que realmente me molestó, fue que acababa de recrear el archivo de contraseña en $ORACLE_HOME/dbs y todavía seguía recibiendo el mismo error.<br />
<br />
Así que después de un tiempo de estar buscando la solución al problema, encontré que en la nueva base de datos primaria, el archivo de contraseña residía en un ASM Diskgroup, y que eso era la principal causa de este error , así que lo que tenía que hacer era copiar el archivo de contraseña del grupo de discos ASM en el ambiente primario al ambiente standby.<br />
<br />
<strong>Base de datos Primaria</strong>
<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">[oracle<span style="color: #333333;">@</span>localhost trace]<span style="background-color: #ffaaaa; color: red;">$</span> srvctl config <span style="color: #008800; font-weight: bold;">database</span> <span style="color: #333333;">-</span>d renedb
<span style="color: #008800; font-weight: bold;">Database</span> <span style="color: #008800; font-weight: bold;">unique</span> name: renedb
<span style="color: #008800; font-weight: bold;">Database</span> name:
Oracle home: <span style="color: #333333;">/</span>u01<span style="color: #333333;">/</span>app<span style="color: #333333;">/</span>oracle<span style="color: #333333;">/</span>product<span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">12</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">2</span><span style="color: #333333;">/</span>db_1
Oracle <span style="color: #008800; font-weight: bold;">user</span>: oracle
Spfile: <span style="color: #333333;">+</span>DATA1<span style="color: #333333;">/</span>renedb<span style="color: #333333;">/</span>spfilerenedb.ora
Password file: <span style="color: #333333;">+</span>DATA1<span style="color: #333333;">/</span>renedb<span style="color: #333333;">/</span>PASSWORD<span style="color: #333333;">/</span>pwrenedb
<span style="color: #008800; font-weight: bold;">Domain</span>:
<span style="color: #008800; font-weight: bold;">Start</span> <span style="color: #008800; font-weight: bold;">options</span>: <span style="color: #008800; font-weight: bold;">open</span>
Stop <span style="color: #008800; font-weight: bold;">options</span>: <span style="color: #008800; font-weight: bold;">immediate</span>
<span style="color: #008800; font-weight: bold;">Database</span> <span style="color: #008800; font-weight: bold;">role</span>: PHYSICAL_STANDBY
Management policy: AUTOMATIC
Server pools:
Disk Groups: ARCH1,DATA1,REDO
Mount point paths:
Services:
<span style="color: #008800; font-weight: bold;">Type</span>: RAC
<span style="color: #008800; font-weight: bold;">Start</span> concurrency:
Stop concurrency:
OSDBA <span style="color: #008800; font-weight: bold;">group</span>: dba
OSOPER <span style="color: #008800; font-weight: bold;">group</span>: oper
<span style="color: #008800; font-weight: bold;">Database</span> instances: renedb1,renedb2
Configured nodes: localhost,localhost
<span style="color: #008800; font-weight: bold;">Database</span> <span style="color: #008800; font-weight: bold;">is</span> administrator managed
[oracle<span style="color: #333333;">@</span>localhost trace]<span style="background-color: #ffaaaa; color: red;">$</span> exit
<span style="color: #333333;">-</span>bash<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">1</span><span style="background-color: #ffaaaa; color: red;">$</span> sudo su <span style="color: #333333;">-</span> grid
[sudo] password <span style="color: #008800; font-weight: bold;">for</span> pythian:
[grid<span style="color: #333333;">@</span>localhost <span style="color: #333333;">~</span>]<span style="background-color: #ffaaaa; color: red;">$</span> . oraenv
ORACLE_SID <span style="color: #333333;">=</span> [<span style="color: #333333;">+</span>ASM1] <span style="color: #333333;">?</span>
The Oracle base remains unchanged <span style="color: #008800; font-weight: bold;">with</span> value <span style="color: #333333;">/</span>u01<span style="color: #333333;">/</span>app<span style="color: #333333;">/</span>grid
[grid<span style="color: #333333;">@</span>localhost <span style="color: #333333;">~</span>]<span style="background-color: #ffaaaa; color: red;">$</span> asmcmd
ASMCMD<span style="color: #333333;">&</span>gt; pwcopy <span style="color: #333333;">+</span>DATA1<span style="color: #333333;">/</span>renedb<span style="color: #333333;">/</span>PASSWORD<span style="color: #333333;">/</span>pwrenedb <span style="color: #333333;">/</span>tmp<span style="color: #333333;">/</span>pwrenedb
copying <span style="color: #333333;">+</span>DATA1<span style="color: #333333;">/</span>renedb<span style="color: #333333;">/</span>PASSWORD<span style="color: #333333;">/</span>pwrenedb <span style="color: #333333;">></span> <span style="color: #333333;">/</span>tmp<span style="color: #333333;">/</span>pwrenedb
ASMCMD<span style="color: #333333;">></span> exit
</pre>
</div>
<strong><br /></strong>
<strong>Base de datos Standby</strong>
<br />
<strong><br /></strong>
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">[oracle<span style="color: #333333;">@</span>localhost dbs]<span style="background-color: #ffaaaa; color: red;">$</span> scp <span style="color: #0000dd; font-weight: bold;">10</span>.<span style="color: #0000dd; font-weight: bold;">10</span>.<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">1</span>:<span style="color: #333333;">/</span>tmp<span style="color: #333333;">/</span>pwrenedb <span style="color: #333333;">/</span>tmp<span style="color: #333333;">/</span>pwrenedb_stby
pwrenedb_stby_phdb <span style="color: #0000dd; font-weight: bold;">100</span><span style="color: #333333;">%</span> <span style="color: #0000dd; font-weight: bold;">7680</span> <span style="color: #0000dd; font-weight: bold;">7</span>.<span style="color: #0000dd; font-weight: bold;">5</span>KB<span style="color: #333333;">/</span>s <span style="color: #0000dd; font-weight: bold;">00</span>:<span style="color: #0000dd; font-weight: bold;">00</span>
[oracle<span style="color: #333333;">@</span>localhost dbs]<span style="background-color: #ffaaaa; color: red;">$</span> exit
logout
[pythian<span style="color: #333333;">@</span>localhost <span style="color: #333333;">~</span>]<span style="background-color: #ffaaaa; color: red;">$</span> sudo su <span style="color: #333333;">-</span> grid
[sudo] password <span style="color: #008800; font-weight: bold;">for</span> pythian:
<span style="color: #008800; font-weight: bold;">Last</span> login: Fri Mar <span style="color: #0000dd; font-weight: bold;">31</span> <span style="color: #0000dd; font-weight: bold;">21</span>:<span style="color: #0000dd; font-weight: bold;">55</span>:<span style="color: #0000dd; font-weight: bold;">53</span> MST <span style="color: #0000dd; font-weight: bold;">2017</span>
[grid<span style="color: #333333;">@</span>localhost <span style="color: #333333;">~</span>]<span style="background-color: #ffaaaa; color: red;">$</span> . oraenv
ORACLE_SID <span style="color: #333333;">=</span> [grid] <span style="color: #333333;">?</span> <span style="color: #333333;">+</span>ASM1
The Oracle base has been <span style="color: #008800; font-weight: bold;">set</span> <span style="color: #008800; font-weight: bold;">to</span> <span style="color: #333333;">/</span>u01<span style="color: #333333;">/</span>app<span style="color: #333333;">/</span>grid
[grid<span style="color: #333333;">@</span>localhost <span style="color: #333333;">~</span>]<span style="background-color: #ffaaaa; color: red;">$</span> asmcmd
ASMCMD<span style="color: #333333;">&</span>gt; mkdir <span style="color: #008800; font-weight: bold;">DATA</span><span style="color: #333333;">/</span>RENEDB<span style="color: #333333;">/</span>PASSWORD
ASMCMD<span style="color: #333333;">&</span>gt; pwcopy <span style="color: #333333;">/</span>tmp<span style="color: #333333;">/</span>pwrenedb_stby_phdb <span style="color: #333333;">+</span><span style="color: #008800; font-weight: bold;">DATA</span><span style="color: #333333;">/</span>RENEDB<span style="color: #333333;">/</span>PASSWORD<span style="color: #333333;">/</span>pwrenedb_stby
copying <span style="color: #333333;">/</span>tmp<span style="color: #333333;">/</span>pwrenedb_stby_phdb <span style="color: #333333;">-&</span>gt; <span style="color: #333333;">+</span><span style="color: #008800; font-weight: bold;">DATA</span><span style="color: #333333;">/</span>RENEDB<span style="color: #333333;">/</span>PASSWORD<span style="color: #333333;">/</span>pwrenedb_stby
ASMCMD<span style="color: #333333;">&</span>gt; exit
[grid<span style="color: #333333;">@</span>localhost <span style="color: #333333;">~</span>]<span style="background-color: #ffaaaa; color: red;">$</span> exit
logout
[pythian<span style="color: #333333;">@</span>localhost <span style="color: #333333;">~</span>]<span style="background-color: #ffaaaa; color: red;">$</span> sudo su <span style="color: #333333;">-</span> oracle
<span style="color: #008800; font-weight: bold;">Last</span> login: Sat Apr <span style="color: #0000dd; font-weight: bold;">1</span> <span style="color: #0000dd; font-weight: bold;">01</span>:<span style="color: #0000dd; font-weight: bold;">35</span>:<span style="color: #0000dd; font-weight: bold;">46</span> MST <span style="color: #0000dd; font-weight: bold;">2017</span> <span style="color: #008800; font-weight: bold;">on</span> pts<span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">4</span>
The Oracle base has been <span style="color: #008800; font-weight: bold;">set</span> <span style="color: #008800; font-weight: bold;">to</span> <span style="color: #333333;">/</span>u01<span style="color: #333333;">/</span>app<span style="color: #333333;">/</span>oracle
[oracle<span style="color: #333333;">@</span>localhost dbs]<span style="background-color: #ffaaaa; color: red;">$</span> srvctl <span style="color: #008800; font-weight: bold;">modify</span> <span style="color: #008800; font-weight: bold;">database</span> <span style="color: #333333;">-</span>d renedb_stby <span style="color: #333333;">-</span>pwfile <span style="color: #333333;">+</span><span style="color: #008800; font-weight: bold;">DATA</span><span style="color: #333333;">/</span>RENEDB<span style="color: #333333;">/</span>PASSWORD<span style="color: #333333;">/</span>pwrenedb_stby
[oracle<span style="color: #333333;">@</span>localhost dbs]<span style="background-color: #ffaaaa; color: red;">$</span> srvctl config <span style="color: #008800; font-weight: bold;">database</span> <span style="color: #333333;">-</span>d renedb_stby
<span style="color: #008800; font-weight: bold;">Database</span> <span style="color: #008800; font-weight: bold;">unique</span> name: renedb_stby
<span style="color: #008800; font-weight: bold;">Database</span> name:
Oracle home: <span style="color: #333333;">/</span>u01<span style="color: #333333;">/</span>app<span style="color: #333333;">/</span>oracle<span style="color: #333333;">/</span>product<span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">12</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">0</span><span style="color: #333333;">/</span>dbhome_1
Oracle <span style="color: #008800; font-weight: bold;">user</span>: oracle
Spfile: <span style="color: #333333;">/</span>u01<span style="color: #333333;">/</span>app<span style="color: #333333;">/</span>oracle<span style="color: #333333;">/</span>product<span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">12</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">0</span><span style="color: #333333;">/</span>dbhome_1<span style="color: #333333;">/</span>dbs<span style="color: #333333;">/</span>spfilerenedb_stby.ora
Password file: <span style="color: #333333;">+</span><span style="color: #008800; font-weight: bold;">DATA</span><span style="color: #333333;">/</span>RENEDB<span style="color: #333333;">/</span>PASSWORD<span style="color: #333333;">/</span>pwrenedb_stby
<span style="color: #008800; font-weight: bold;">Domain</span>:
<span style="color: #008800; font-weight: bold;">Start</span> <span style="color: #008800; font-weight: bold;">options</span>: <span style="color: #008800; font-weight: bold;">open</span>
Stop <span style="color: #008800; font-weight: bold;">options</span>: <span style="color: #008800; font-weight: bold;">immediate</span>
<span style="color: #008800; font-weight: bold;">Database</span> <span style="color: #008800; font-weight: bold;">role</span>: <span style="color: #008800; font-weight: bold;">PRIMARY</span>
Management policy: AUTOMATIC
Server pools:
Disk Groups: ARCH,<span style="color: #008800; font-weight: bold;">DATA</span>,REDO
Mount point paths:
Services:
<span style="color: #008800; font-weight: bold;">Type</span>: RAC
<span style="color: #008800; font-weight: bold;">Start</span> concurrency:
Stop concurrency:
OSDBA <span style="color: #008800; font-weight: bold;">group</span>: dba
OSOPER <span style="color: #008800; font-weight: bold;">group</span>: oper
<span style="color: #008800; font-weight: bold;">Database</span> instances: renedb_stby1,renedb_stby2
Configured nodes: <span style="color: #333333;">*******</span>,<span style="color: #333333;">***********</span>
<span style="color: #008800; font-weight: bold;">Database</span> <span style="color: #008800; font-weight: bold;">is</span> administrator managed
</pre>
</div>
<br />
Una vez que lo hice, la base de datos standby comenzó a aplicar los redologs, y después de que se cerrara la brecha, el estado de switchover de la base de datos Principal era <em>"TO STANDBY" </em><br />
<strong><br /></strong>
<strong>Base de Datos Primaria</strong><br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #008800; font-weight: bold;">Primary</span> Site <span style="color: #008800; font-weight: bold;">last</span> <span style="color: #008800; font-weight: bold;">generated</span> SCN
<span style="color: #333333;">*******************************</span>
DB_UNIQUE_NAME SWITCHOVER_STATUS CURRENT_SCN
<span style="color: #888888;">--------------- -------------------- ----------------</span>
renedb <span style="color: #008800; font-weight: bold;">TO</span> STANDBY <span style="color: #0000dd; font-weight: bold;">134480468945</span>
</pre>
</div>
<strong><br /></strong>
<strong>Base de Datos </strong><strong>Standby</strong>
<br />
<strong><br /></strong>
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #008800; font-weight: bold;">Data</span> Guard Apply Lag
<span style="color: #333333;">********************</span>
NAME LAG_TIME DATUM_TIME TIME_COMPUTED
<span style="color: #888888;">------------ -------------------- -------------------- --------------------</span>
apply lag <span style="color: #333333;">+</span><span style="color: #0000dd; font-weight: bold;">00</span> <span style="color: #0000dd; font-weight: bold;">00</span>:<span style="color: #0000dd; font-weight: bold;">00</span>:<span style="color: #0000dd; font-weight: bold;">00</span> <span style="color: #0000dd; font-weight: bold;">04</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">01</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">2017</span> <span style="color: #0000dd; font-weight: bold;">04</span>:<span style="color: #0000dd; font-weight: bold;">05</span>:<span style="color: #0000dd; font-weight: bold;">51</span> <span style="color: #0000dd; font-weight: bold;">04</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">01</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">2017</span> <span style="color: #0000dd; font-weight: bold;">04</span>:<span style="color: #0000dd; font-weight: bold;">05</span>:<span style="color: #0000dd; font-weight: bold;">52</span>
<span style="color: #0000dd; font-weight: bold;">1</span> <span style="color: #008800; font-weight: bold;">row</span> selected.
<span style="color: #008800; font-weight: bold;">Data</span> Guard Gap Problems
<span style="color: #333333;">***********************</span>
<span style="color: #008800; font-weight: bold;">no</span> <span style="color: #008800; font-weight: bold;">rows</span> selected
PROCESS STATUS CLIENT_P CLIENT_PID THREAD<span style="color: #333333;">#</span> SEQUENCE<span style="color: #333333;">#</span> BLOCK<span style="color: #333333;">#</span> ACTIVE_AGENTS KNOWN_AGENTS
<span style="color: #888888;">------- ------------ -------- ---------- ---------------- ---------------- ---------------- ---------------- ----------------</span>
ARCH CONNECTED ARCH <span style="color: #0000dd; font-weight: bold;">44474</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span>
RFS IDLE ARCH <span style="color: #0000dd; font-weight: bold;">133318</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span>
RFS IDLE ARCH <span style="color: #0000dd; font-weight: bold;">50602</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span>
ARCH CLOSING ARCH <span style="color: #0000dd; font-weight: bold;">44470</span> <span style="color: #0000dd; font-weight: bold;">1</span> <span style="color: #0000dd; font-weight: bold;">21623</span> <span style="color: #0000dd; font-weight: bold;">14336</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span>
ARCH CLOSING ARCH <span style="color: #0000dd; font-weight: bold;">44476</span> <span style="color: #0000dd; font-weight: bold;">1</span> <span style="color: #0000dd; font-weight: bold;">21624</span> <span style="color: #0000dd; font-weight: bold;">1</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span>
ARCH CLOSING ARCH <span style="color: #0000dd; font-weight: bold;">44472</span> <span style="color: #0000dd; font-weight: bold;">2</span> <span style="color: #0000dd; font-weight: bold;">19221</span> <span style="color: #0000dd; font-weight: bold;">96256</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span>
RFS IDLE LGWR <span style="color: #0000dd; font-weight: bold;">133322</span> <span style="color: #0000dd; font-weight: bold;">1</span> <span style="color: #0000dd; font-weight: bold;">21625</span> <span style="color: #0000dd; font-weight: bold;">17157</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span>
RFS IDLE LGWR <span style="color: #0000dd; font-weight: bold;">50620</span> <span style="color: #0000dd; font-weight: bold;">2</span> <span style="color: #0000dd; font-weight: bold;">19222</span> <span style="color: #0000dd; font-weight: bold;">36611</span> <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #0000dd; font-weight: bold;">0</span>
MRP0 APPLYING_LOG N<span style="color: #333333;">/</span>A N<span style="color: #333333;">/</span>A <span style="color: #0000dd; font-weight: bold;">2</span> <span style="color: #0000dd; font-weight: bold;">19222</span> <span style="color: #0000dd; font-weight: bold;">36617</span> <span style="color: #0000dd; font-weight: bold;">33</span> <span style="color: #0000dd; font-weight: bold;">33</span>
<span style="color: #0000dd; font-weight: bold;">9</span> <span style="color: #008800; font-weight: bold;">rows</span> selected.
</pre>
</div>
<strong><br /></strong>
<strong>Conclusión</strong><br />
<br />
En 12.1 se recomienda en el DOC ID 1984091.1 de MOS, tener el archivo de contraseña en los diskgroups de ASM. Así que una vez que hice esto, fui capaz de soluciónar el error ORA-01033 y poder dormir bien :).Anonymoushttp://www.blogger.com/profile/16707526771327328274noreply@blogger.com11tag:blogger.com,1999:blog-4609531821681208136.post-1342293150551892402015-06-05T12:28:00.002-06:002015-06-05T12:28:03.648-06:00RMAN 12cR1 : Dile adios a tu respaldo cuando haces un DROP de tu PDB - Parte II<br/><a href="http://rene-ace.com/rman-12cr1-dile-adios-a-tu-respaldo-cuando-haces-un-drop-de-tu-pdb-parte-ii/">RMAN 12cR1 : Dile adios a tu respaldo cuando haces un DROP de tu PDB - Parte II</a> <br/><p>En mi última entrada en mi blog de Pythian (<a href="http://rene-ace.com/rman-12c-dile-adios-a-tu-respaldo-cuando-haces-un-drop-de-tu-pdb/">aquí en español</a>) antes de unirme a Oracle, hable de lo que ocurre si intentas recuperar una BASE DE DATOS “PLUGGABLE” si haces un DROP PLUGGABLE DATABASE en 12cR1, para no hacer la historia larga , no vas a ser capaz de restaurar / recuperar tu base de datos. Ahora voy a profundizar un poco más en qué en lo que sucede en el archivo de control (controlfile), y por qué es necesario restaurar el archivo de control para que puedas recuperar tu base de datos “PLUGGABLE”.</p><br/><p>Primero creo una base de datos llamada <strong>TESTDB</strong></p><br/><div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;"><br/><pre style="line-height: 125%; margin: 0;"><span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">CREATE</span> PLUGGABLE <span style="color: #008800; font-weight: bold;">DATABASE</span> testdb <span style="color: #008800; font-weight: bold;">ADMIN</span> <span style="color: #008800; font-weight: bold;">USER</span> testadm IDENTIFIED <span style="color: #008800; font-weight: bold;">BY</span> oracle ROLES<span style="color: #333333;">=</span>(DBA); <br/><br/>Pluggable <span style="color: #008800; font-weight: bold;">database</span> created.</pre><br/></div><br/><p>Si hago un volcado del archivo de control  tipo 4 , que incluye, la cabecera del archivo (datafile), la información de registro de base de datos y registros de progresos de checkpoint, los registros más antiguos y más recientes para los registros circulares reutilizables  y los 4 registros más recientes de registros circulares reutilizables .</p><br/><p>Puedo ver en el volcado del archivo de control que la base de datos “pluggable”  tiene un “id” de 4 y un “Record id” de 4, que no son lo mismo, una es el PDB_ID y el otro es el registro de identificación  del archivo de control  , como se puede ver a continuación:</p><br/><div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;"><br/><pre style="line-height: 125%; margin: 0;"><span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> oradebug setmypid<br/><span style="color: #008800; font-weight: bold;">Statement</span> processed.<br/><span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> oradebug dump controlf <span style="color: #0000dd; font-weight: bold;">4</span>;<br/><span style="color: #008800; font-weight: bold;">Statement</span> processed.<br/>...<br/><br/><span style="color: #333333;">***************************************************************************</span><br/>PLUGGABLE <span style="color: #008800; font-weight: bold;">DATABASE</span> RECORDS<br/><span style="color: #333333;">***************************************************************************</span><br/> (<span style="color: #008800; font-weight: bold;">size</span> <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">684</span>, compat <span style="color: #008800; font-weight: bold;">size</span> <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">684</span>, section <span style="color: #008800; font-weight: bold;">max</span> <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">10</span>, section <span style="color: #008800; font-weight: bold;">in</span><span style="color: #333333;">-</span>use <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">4</span>,<br/> <span style="color: #008800; font-weight: bold;">last</span><span style="color: #333333;">-</span>recid<span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">13</span>, <span style="color: #008800; font-weight: bold;">old</span><span style="color: #333333;">-</span>recno <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">0</span>, <span style="color: #008800; font-weight: bold;">last</span><span style="color: #333333;">-</span>recno <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">0</span>)<br/> (extent <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">1</span>, blkno <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">540</span>, numrecs <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">10</span>)<br/>Pluggable <span style="color: #008800; font-weight: bold;">DataBase</span> record<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">1</span><br/> id<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">1</span><br/> dbid<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">2835408111</span><br/> name<span style="color: #333333;">=</span>CDB<span style="background-color: #ffaaaa; color: red;">$</span>ROOT<br/> <span style="color: #008800; font-weight: bold;">first</span> datafile link<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">1</span><br/> pdbinc<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>, pdbrdi<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>, status<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>x00000000, flags<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>x00000000<br/> incrcv scn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, clnscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, crescn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span><br/> dbrls scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, dbrlc<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> iscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, itime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> bscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, btime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> escn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, etime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/>Pluggable <span style="color: #008800; font-weight: bold;">DataBase</span> record<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">2</span><br/> id<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">2</span><br/> dbid<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">4092965150</span><br/> name<span style="color: #333333;">=</span>PDB<span style="background-color: #ffaaaa; color: red;">$</span>SEED<br/> <span style="color: #008800; font-weight: bold;">first</span> datafile link<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">7</span><br/> pdbinc<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>, pdbrdi<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>, status<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>x00000001, flags<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>x00000000<br/> incrcv scn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, clnscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">001</span>dd3e3, crescn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">001</span>a4224<br/> dbrls scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, dbrlc<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> iscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, itime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> bscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, btime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> escn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, etime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/>Pluggable <span style="color: #008800; font-weight: bold;">DataBase</span> record<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">3</span><br/> id<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">3</span><br/> dbid<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">1554252633</span><br/> name<span style="color: #333333;">=</span>PDBEM<br/> <span style="color: #008800; font-weight: bold;">first</span> datafile link<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">10</span><br/> pdbinc<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>, pdbrdi<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>, status<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>x00000001, flags<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>x00000000<br/> incrcv scn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, clnscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">001</span>e0a9c, crescn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">001</span>dd76b<br/> dbrls scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, dbrlc<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> iscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, itime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> bscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, btime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> escn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, etime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/>Pluggable <span style="color: #008800; font-weight: bold;">DataBase</span> <span style="color: red;">record=<span style="font-weight: bold;">4</span></span><br/> <span style="color: red;">id=<span style="font-weight: bold;">4</span></span><br/> dbid<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">2633748847</span><br/> name<span style="color: #333333;">=</span><span style="color: red;">TESTDB</span><br/> <span style="color: #008800; font-weight: bold;">first</span> datafile link<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">12</span><br/> pdbinc<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>, pdbrdi<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>, status<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>x00000001, flags<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>x00000001<br/> incrcv scn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, clnscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">001</span>e066d, crescn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">001</span>e061c<br/> dbrls scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, dbrlc<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> iscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, itime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> bscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, btime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> escn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, etime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span></pre><br/></div><br/><p>Ahora bien, si vemos un poco más abajo en el archivo, que voy a recortar para este ejercicio sólo mostrar el datafile 12, se puede observar que existe una relación entre este identificador, y los archivos de datos de esta base de datos “pluggable”.</p><br/><div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;"><br/><pre style="line-height: 125%; margin: 0;"><span style="color: #333333;">...</span></pre><br/><pre style="line-height: 125%; margin: 0;"><span style="color: #333333;">***************************************************************************</span><br/><span style="color: #008800; font-weight: bold;">DATA</span> FILE RECORDS<br/><span style="color: #333333;">***************************************************************************</span><br/>...<br/><span style="color: red;"><span style="font-weight: bold;">DATA</span> FILE #<span style="font-weight: bold;">12</span>:</span> <br/> name <span style="color: #333333;">#</span><span style="color: #0000dd; font-weight: bold;">17</span>: <span style="color: #333333;">/</span>u01<span style="color: #333333;">/</span>app<span style="color: #333333;">/</span>oracle<span style="color: #333333;">/</span>oradata<span style="color: #333333;">/</span>cdborcl<span style="color: #333333;">/</span>pdbs<span style="color: #333333;">/</span>sysaux01.dbf<br/>creation <span style="color: #008800; font-weight: bold;">size</span><span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">87040</span> block <span style="color: #008800; font-weight: bold;">size</span><span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">8192</span> status<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>x80 flg<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>x5 head<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">17</span> tail<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">17</span> dup<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">1</span><br/> <span style="color: red;">pdb_id <span style="font-weight: bold;">4</span></span>, tablespace <span style="color: #0000dd; font-weight: bold;">1</span>, <span style="color: #008800; font-weight: bold;">index</span><span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">14</span> krfil<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">4</span> prev_file_in_ts<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span> prev_file_in_pdb<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">11</span><br/> unrecoverable scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">01</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">01</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">1988</span> <span style="color: #0000dd; font-weight: bold;">00</span>:<span style="color: #0000dd; font-weight: bold;">00</span>:<span style="color: #0000dd; font-weight: bold;">00</span><br/> <span style="color: #008800; font-weight: bold;">Checkpoint</span> cnt:<span style="color: #0000dd; font-weight: bold;">2</span> scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">001</span>e066d <span style="color: #0000dd; font-weight: bold;">06</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">16</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">2014</span> <span style="color: #0000dd; font-weight: bold;">16</span>:<span style="color: #0000dd; font-weight: bold;">09</span>:<span style="color: #0000dd; font-weight: bold;">37</span><br/> Stop scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">001</span>e066d <span style="color: #0000dd; font-weight: bold;">06</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">16</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">2014</span> <span style="color: #0000dd; font-weight: bold;">16</span>:<span style="color: #0000dd; font-weight: bold;">09</span>:<span style="color: #0000dd; font-weight: bold;">37</span><br/> Creation Checkpointed <span style="color: #008800; font-weight: bold;">at</span> scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">001</span>e0620 <span style="color: #0000dd; font-weight: bold;">06</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">16</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">2014</span> <span style="color: #0000dd; font-weight: bold;">16</span>:<span style="color: #0000dd; font-weight: bold;">09</span>:<span style="color: #0000dd; font-weight: bold;">13</span><br/> thread:<span style="color: #0000dd; font-weight: bold;">1</span> rba:(<span style="color: #0000dd; font-weight: bold;">0</span>xf.<span style="color: #0000dd; font-weight: bold;">54</span>b4.<span style="color: #0000dd; font-weight: bold;">10</span>)<br/> enabled threads: <span style="color: #0000dd; font-weight: bold;">01000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> Offline scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span> prev_range: <span style="color: #0000dd; font-weight: bold;">0</span><br/> Online Checkpointed <span style="color: #008800; font-weight: bold;">at</span> scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span> <br/> thread:<span style="color: #0000dd; font-weight: bold;">0</span> rba:(<span style="color: #0000dd; font-weight: bold;">0</span>x0.<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">0</span>)<br/> enabled threads: <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> Hot Backup <span style="color: #008800; font-weight: bold;">end</span> marker scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span><br/> aux_file <span style="color: #008800; font-weight: bold;">is</span> <span style="color: #008800; font-weight: bold;">NOT</span> <span style="color: #008800; font-weight: bold;">DEFINED</span> <br/> Plugged readony: <span style="color: #008800; font-weight: bold;">NO</span><br/> Plugin scnscn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span><br/> Plugin resetlogs scn<span style="color: #333333;">/</span>timescn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">01</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">01</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">1988</span> <span style="color: #0000dd; font-weight: bold;">00</span>:<span style="color: #0000dd; font-weight: bold;">00</span>:<span style="color: #0000dd; font-weight: bold;">00</span><br/> <span style="color: #008800; font-weight: bold;">Foreign</span> creation scn<span style="color: #333333;">/</span>timescn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">01</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">01</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">1988</span> <span style="color: #0000dd; font-weight: bold;">00</span>:<span style="color: #0000dd; font-weight: bold;">00</span>:<span style="color: #0000dd; font-weight: bold;">00</span><br/> <span style="color: #008800; font-weight: bold;">Foreign</span> <span style="color: #008800; font-weight: bold;">checkpoint</span> scn<span style="color: #333333;">/</span>timescn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">01</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">01</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">1988</span> <span style="color: #0000dd; font-weight: bold;">00</span>:<span style="color: #0000dd; font-weight: bold;">00</span>:<span style="color: #0000dd; font-weight: bold;">00</span><br/> Online <span style="color: #008800; font-weight: bold;">move</span> <span style="color: #008800; font-weight: bold;">state</span>: <span style="color: #0000dd; font-weight: bold;">0</span></pre><br/></div><br/><p>Lo que procedo a hacer ahora, es borrar la base de datos “pluggable”</p><br/><div><br/><div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;"><br/><pre style="line-height: 125%; margin: 0;"><span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">DROP</span> PLUGGABLE <span style="color: #008800; font-weight: bold;">DATABASE</span> TESTDB <span style="color: #008800; font-weight: bold;">INCLUDING</span> DATAFILES;<br/><br/>Pluggable <span style="color: #008800; font-weight: bold;">database</span> dropped.</pre><br/></div><br/><p>Y ahora hago otra volcado de mi archivo de control, puedo ver que el ID del volcado del controlfile es 0 y el “Record ID” sigue siendo 4, y ahora la relación entre los archivos de datos, que no se pierde, sigue siendo el número 4, que significa que no está relacionado con el “id” número 0, así que básicamente no hay archivos de datos relacionados con estaPDB, que mi lógica me dice que es lo que quiero, ya que acabo de borrar mi PDB.</p><br/><div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;"><br/><pre style="line-height: 125%; margin: 0;"><span style="background-color: #ffaaaa;">…</span><br/><span style="color: #333333;">***************************************************************************</span><br/>PLUGGABLE <span style="color: #008800; font-weight: bold;">DATABASE</span> RECORDS<br/><span style="color: #333333;">***************************************************************************</span><br/> (<span style="color: #008800; font-weight: bold;">size</span> <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">684</span>, compat <span style="color: #008800; font-weight: bold;">size</span> <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">684</span>, section <span style="color: #008800; font-weight: bold;">max</span> <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">10</span>, section <span style="color: #008800; font-weight: bold;">in</span><span style="color: #333333;">-</span>use <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">4</span>,<br/> <span style="color: #008800; font-weight: bold;">last</span><span style="color: #333333;">-</span>recid<span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">14</span>, <span style="color: #008800; font-weight: bold;">old</span><span style="color: #333333;">-</span>recno <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">0</span>, <span style="color: #008800; font-weight: bold;">last</span><span style="color: #333333;">-</span>recno <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">0</span>)<br/> (extent <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">1</span>, blkno <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">540</span>, numrecs <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">10</span>)<br/>Pluggable <span style="color: #008800; font-weight: bold;">DataBase</span> record<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">1</span><br/> id<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">1</span><br/> dbid<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">2835408111</span><br/> name<span style="color: #333333;">=</span>CDB<span style="background-color: #ffaaaa; color: red;">$</span>ROOT<br/> <span style="color: #008800; font-weight: bold;">first</span> datafile link<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">1</span><br/> pdbinc<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>, pdbrdi<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>, status<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>x00000000, flags<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>x00000000<br/> incrcv scn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, clnscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, crescn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span><br/> dbrls scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, dbrlc<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> iscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, itime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> bscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, btime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> escn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, etime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/>Pluggable <span style="color: #008800; font-weight: bold;">DataBase</span> record<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">2</span><br/> id<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">2</span><br/> dbid<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">4092965150</span><br/> name<span style="color: #333333;">=</span>PDB<span style="background-color: #ffaaaa; color: red;">$</span>SEED<br/> <span style="color: #008800; font-weight: bold;">first</span> datafile link<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">7</span><br/> pdbinc<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>, pdbrdi<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>, status<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>x00000001, flags<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>x00000000<br/> incrcv scn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, clnscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">001</span>dd3e3, crescn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">001</span>a4224<br/> dbrls scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, dbrlc<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> iscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, itime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> bscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, btime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> escn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, etime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/>Pluggable <span style="color: #008800; font-weight: bold;">DataBase</span> record<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">3</span><br/> id<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">3</span><br/> dbid<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">1554252633</span><br/> name<span style="color: #333333;">=</span>PDBEM<br/> <span style="color: #008800; font-weight: bold;">first</span> datafile link<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">10</span><br/> pdbinc<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>, pdbrdi<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>, status<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>x00000001, flags<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>x00000000<br/> incrcv scn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, clnscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">001</span>e0a9c, crescn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">001</span>dd76b<br/> dbrls scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, dbrlc<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> iscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, itime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> bscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, btime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> escn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, etime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/>Pluggable <span style="color: #008800; font-weight: bold;">DataBase</span> <span style="color: red;">record=<span style="font-weight: bold;">4</span></span><br/> <span style="color: red;">id=<span style="font-weight: bold;">0</span></span><br/> dbid<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">2633748847</span><br/> name<span style="color: #333333;">=</span><span style="color: red;">TESTDB</span><br/> <span style="color: #008800; font-weight: bold;">first</span> datafile link<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> pdbinc<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>, pdbrdi<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>, status<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>x00000001, flags<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>x00000001<br/> incrcv scn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, clnscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">001</span>e066d, crescn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">001</span>e061c<br/> dbrls scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, dbrlc<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> iscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, itime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> bscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, btime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> escn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, etime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/><br/>...<br/><br/><span style="color: #333333;">***************************************************************************</span><br/><span style="color: #008800; font-weight: bold;">DATA</span> FILE RECORDS<br/><span style="color: #333333;">***************************************************************************</span><br/>...<br/><span style="color: red;"><span style="font-weight: bold;">D</span><span style="font-weight: bold;">ATA</span> FILE #<span style="font-weight: bold;">12</span>: <br/></span>creation <span style="color: #008800; font-weight: bold;">size</span><span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">87040</span> block <span style="color: #008800; font-weight: bold;">size</span><span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">8192</span> status<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>x88c flg<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>x1 head<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span> tail<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span> dup<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> <span style="color: red;">pdb_id</span> <span style="color: #0000dd; font-weight: bold;">4</span>, tablespace <span style="color: #0000dd; font-weight: bold;">1</span>, <span style="color: #008800; font-weight: bold;">index</span><span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">14</span> krfil<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">4</span> prev_file_in_ts<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span> prev_file_in_pdb<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">11</span><br/> unrecoverable scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">01</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">01</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">1988</span> <span style="color: #0000dd; font-weight: bold;">00</span>:<span style="color: #0000dd; font-weight: bold;">00</span>:<span style="color: #0000dd; font-weight: bold;">00</span><br/> <span style="color: #008800; font-weight: bold;">Checkpoint</span> cnt:<span style="color: #0000dd; font-weight: bold;">2</span> scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">001</span>e066d <span style="color: #0000dd; font-weight: bold;">06</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">16</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">2014</span> <span style="color: #0000dd; font-weight: bold;">16</span>:<span style="color: #0000dd; font-weight: bold;">09</span>:<span style="color: #0000dd; font-weight: bold;">37</span><br/> Stop scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">001</span>e066d <span style="color: #0000dd; font-weight: bold;">06</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">16</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">2014</span> <span style="color: #0000dd; font-weight: bold;">16</span>:<span style="color: #0000dd; font-weight: bold;">09</span>:<span style="color: #0000dd; font-weight: bold;">37</span><br/> Creation Checkpointed <span style="color: #008800; font-weight: bold;">at</span> scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">001</span>e0620 <span style="color: #0000dd; font-weight: bold;">06</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">16</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">2014</span> <span style="color: #0000dd; font-weight: bold;">16</span>:<span style="color: #0000dd; font-weight: bold;">09</span>:<span style="color: #0000dd; font-weight: bold;">13</span><br/> thread:<span style="color: #0000dd; font-weight: bold;">1</span> rba:(<span style="color: #0000dd; font-weight: bold;">0</span>xf.<span style="color: #0000dd; font-weight: bold;">54</span>b4.<span style="color: #0000dd; font-weight: bold;">10</span>)<br/> enabled threads: <span style="color: #0000dd; font-weight: bold;">01000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> Offline scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span> prev_range: <span style="color: #0000dd; font-weight: bold;">0</span><br/> Online Checkpointed <span style="color: #008800; font-weight: bold;">at</span> scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span> <br/> thread:<span style="color: #0000dd; font-weight: bold;">0</span> rba:(<span style="color: #0000dd; font-weight: bold;">0</span>x0.<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">0</span>)<br/> enabled threads: <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">00000000</span><br/> Hot Backup <span style="color: #008800; font-weight: bold;">end</span> marker scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span><br/> aux_file <span style="color: #008800; font-weight: bold;">is</span> <span style="color: #008800; font-weight: bold;">NOT</span> <span style="color: #008800; font-weight: bold;">DEFINED</span> <br/> Plugged readony: <span style="color: #008800; font-weight: bold;">NO</span><br/> Plugin scnscn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span><br/> Plugin resetlogs scn<span style="color: #333333;">/</span>timescn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">01</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">01</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">1988</span> <span style="color: #0000dd; font-weight: bold;">00</span>:<span style="color: #0000dd; font-weight: bold;">00</span>:<span style="color: #0000dd; font-weight: bold;">00</span><br/> <span style="color: #008800; font-weight: bold;">Foreign</span> creation scn<span style="color: #333333;">/</span>timescn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">01</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">01</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">1988</span> <span style="color: #0000dd; font-weight: bold;">00</span>:<span style="color: #0000dd; font-weight: bold;">00</span>:<span style="color: #0000dd; font-weight: bold;">00</span><br/> <span style="color: #008800; font-weight: bold;">Foreign</span> <span style="color: #008800; font-weight: bold;">checkpoint</span> scn<span style="color: #333333;">/</span>timescn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span> <span style="color: #0000dd; font-weight: bold;">01</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">01</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">1988</span> <span style="color: #0000dd; font-weight: bold;">00</span>:<span style="color: #0000dd; font-weight: bold;">00</span>:<span style="color: #0000dd; font-weight: bold;">00</span><br/> Online <span style="color: #008800; font-weight: bold;">move</span> <span style="color: #008800; font-weight: bold;">state</span>: <span style="color: #0000dd; font-weight: bold;">0</span></pre><br/></div><br/><p>Ahora, yo no sé lo que se necesita para que el  PDB_ID = 0 se retire del controlfile, pero si sigo y creo otra base de datos “pluggable”, puedo ver en el volcado del controlfile que el registro para la BD (TESTDB) se ha borrado, la nueva BD agarra el “PDB record ID” de 4 y el registro de controlfile  4, y ahora en realidad no hay registro de que alguna vez existio, haciendo imposible que RMAN pueda recuperar / restaurar su base de datos con el registro siendo 0 o si la base de datos “pluggable”  no existe en la sección de “PLUGGABLE DATABASE RECORDS “.</p><br/><div><br/><div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;"><br/><pre style="line-height: 125%; margin: 0;"><span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">CREATE</span> PLUGGABLE <span style="color: #008800; font-weight: bold;">DATABASE</span> testdb1 <span style="color: #008800; font-weight: bold;">ADMIN</span> <span style="color: #008800; font-weight: bold;">USER</span> testadm IDENTIFIED <span style="color: #008800; font-weight: bold;">BY</span> oracle ROLES<span style="color: #333333;">=</span>(DBA); <br/><br/>Pluggable <span style="color: #008800; font-weight: bold;">database</span> created.<br/><br/>...<br/><span style="color: #333333;">***************************************************************************</span><br/>PLUGGABLE <span style="color: #008800; font-weight: bold;">DATABASE</span> RECORDS<br/><span style="color: #333333;">***************************************************************************</span><br/> (<span style="color: #008800; font-weight: bold;">size</span> <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">684</span>, compat <span style="color: #008800; font-weight: bold;">size</span> <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">684</span>, section <span style="color: #008800; font-weight: bold;">max</span> <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">10</span>, section <span style="color: #008800; font-weight: bold;">in</span><span style="color: #333333;">-</span>use <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">4</span>,<br/> <span style="color: #008800; font-weight: bold;">last</span><span style="color: #333333;">-</span>recid<span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">18</span>, <span style="color: #008800; font-weight: bold;">old</span><span style="color: #333333;">-</span>recno <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">0</span>, <span style="color: #008800; font-weight: bold;">last</span><span style="color: #333333;">-</span>recno <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">0</span>)<br/> (extent <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">1</span>, blkno <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">540</span>, numrecs <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">10</span>)<br/>Pluggable <span style="color: #008800; font-weight: bold;">DataBase</span> record<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">1</span><br/> id<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">1</span><br/> dbid<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">2835408111</span><br/> name<span style="color: #333333;">=</span>CDB<span style="background-color: #ffaaaa; color: red;">$</span>ROOT<br/> <span style="color: #008800; font-weight: bold;">first</span> datafile link<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">1</span><br/> pdbinc<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>, pdbrdi<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>, status<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>x00000000, flags<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>x00000000<br/> incrcv scn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, clnscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, crescn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span><br/> dbrls scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, dbrlc<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> iscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, itime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> bscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, btime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> escn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, etime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/>Pluggable <span style="color: #008800; font-weight: bold;">DataBase</span> record<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">2</span><br/> id<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">2</span><br/> dbid<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">4092965150</span><br/> name<span style="color: #333333;">=</span>PDB<span style="background-color: #ffaaaa; color: red;">$</span>SEED<br/> <span style="color: #008800; font-weight: bold;">first</span> datafile link<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">7</span><br/> pdbinc<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>, pdbrdi<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>, status<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>x00000001, flags<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>x00000000<br/> incrcv scn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, clnscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">001</span>dd3e3, crescn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">001</span>a4224<br/> dbrls scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, dbrlc<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> iscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, itime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> bscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, btime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> escn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, etime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/>Pluggable <span style="color: #008800; font-weight: bold;">DataBase</span> record<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">3</span><br/> id<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">3</span><br/> dbid<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">1554252633</span><br/> name<span style="color: #333333;">=</span>PDBEM<br/> <span style="color: #008800; font-weight: bold;">first</span> datafile link<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">10</span><br/> pdbinc<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>, pdbrdi<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>, status<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>x00000001, flags<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>x00000000<br/> incrcv scn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, clnscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">001</span>e0a9c, crescn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">001</span>dd76b<br/> dbrls scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, dbrlc<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> iscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, itime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> bscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, btime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> escn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, etime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/>Pluggable <span style="color: #008800; font-weight: bold;">DataBase</span> <span style="color: red;">record=<span style="font-weight: bold;">4</span></span><br/> <span style="color: red;">id=<span style="font-weight: bold;">4</span></span><br/> dbid<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">602641775</span><br/> name<span style="color: #333333;">=</span><span style="color: red;">TESTDB1</span><br/> <span style="color: #008800; font-weight: bold;">first</span> datafile link<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">14</span><br/> pdbinc<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>, pdbrdi<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>, status<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>x00000001, flags<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>x00000001<br/> incrcv scn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, clnscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">001</span>e7a44, crescn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">001</span>e79d6<br/> dbrls scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, dbrlc<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> iscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, itime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> bscn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, btime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span><br/> escn scn: <span style="color: #0000dd; font-weight: bold;">0</span>x0000.<span style="color: #0000dd; font-weight: bold;">00000000</span>, etime<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span></pre><br/></div><br/><p><b>Conclusión</b></p><br/><p>Esto es sólo para ti y que te des una idea de lo que sucede en el archivo de control cuando se emite<i>DROP PLUGGABLE DATABASE</i>, que es donde se guardan el registro de sus PDBs / Datafiles y respaldos, que es por qué al emitir ese comando, la única manera de restaurar / recuperar tu PDB es restaurar el archivo de control, la base de datos root y la PDB, esto se puede hacer en una base de datos auxiliar, si necesitas hacerlo.</p><br/></div><br/></div>René Antúnezhttp://www.blogger.com/profile/12552421582469327664noreply@blogger.com0tag:blogger.com,1999:blog-4609531821681208136.post-56561592305688205962015-03-31T18:24:00.002-07:002015-03-31T18:24:13.634-07:00Como mover un datafile en Oracle 12c R1<br/><a href="http://rene-ace.com/como-mover-un-datafile-en-oracle-12c-r1/">Como mover un datafile en Oracle 12c R1</a> <br/><p>Aquí les voy a pasar un tip rapido de como en Oracle 12c R1 podemos mover un datafile sin tener que bajar la base de datos o poner el tablespace al que pertenecía el datafile en modo offline.</p><br/><p>Para este ejemplo, voy a usar OMF (Oracle Managed Files), pero también lo puedes hacer sin OMF.Lo primero que voy a hacer, es verificar que el db_create_file_dest tenga el valor a donde quiero que se creen mis datafiles.</p><br/><pre class="brush: sql; title: ; notranslate" title=""><br/>oracle@localhost.localdomain [CDB2] /home/oracle<br/>oracle $ sqlplus<br/>SQL*Plus: Release 12.1.0.2.0 Production on Wed Apr 1 00:46:27 2015<br/>Copyright (c) 1982, 2014, Oracle.All rights reserved.<br/>Enter user-name: /as sysdba<br/>Connected to:<br/>Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production<br/>With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options<br/>SQL> show parameter db_create_file_dest<br/>NAME TYPE<br/>------------------------------------ ---------------------------------<br/>VALUE<br/>------------------------------<br/>db_create_file_dest string<br/>/u01/app/oracle/oradata/cdb2<br/></pre><br/><p>Ahora vamos a verificar el estado de la BD y las PDBs y los datafiles que tenemos en nuestra BD</p><br/><pre class="brush: sql; title: ; notranslate" title=""><br/>SQL> select open_mode from v$database;<br/>OPEN_MODE<br/>------------------------------------------------------------<br/>READ WRITE<br/>SQL> </span>SELECT PDB_ID, PDB_NAME, STATUS FROM CDB_PDBS ORDER BY PDB_ID;<br/>PDB_ID PDB_NAME STATUS<br/>---------- --------------- ---------------------------<br/> 2 PDB$SEED NORMAL<br/> 3 PDB1NORMAL<br/>SQL> SELECT file_id, file_name FROM cdb_data_files ORDER BY file_id;<br/>FILE_ID FILE_NAME<br/>---------- ----------------------------------------------------------------------<br/> 1 /oradata/CDB2/system01.dbf<br/> 3 /oradata/CDB2/sysaux01.dbf<br/> 5 /oradata/CDB2/undotbs01.dbf<br/> 6 /u01/app/oracle/oradata/cdb2/CDB2/datafile/o1_mf_users_bk1wg0z4_.dbf<br/> 7 /oradata/UPGR/system01.dbf<br/> 8 /oradata/UPGR/sysaux01.dbf<br/> 9 /oradata/UPGR/users01.dbf<br/> 10 /tmp/aq01.dbf<br/> 12 /u01/app/oracle/product/12.1.0.2/dbs/rene.dat<br/>9 rows selected.<br/></pre><br/><p>Y ahora vamos a usar el comando ALTER DATABASE MOVE DATAFILE dentro de la CDB y nos va a marcar un error de que el datafile no existe</p><br/><pre class="brush: sql; title: ; notranslate" title=""><br/>SQL> ALTER DATABASE MOVE DATAFILE "/u01/app/oracle/product/12.1.0.2/dbs/rene.dat";<br/>ALTER DATABASE MOVE DATAFILE "/u01/app/oracle/product/12.1.0.2/dbs/rene.dat"<br/>*<br/>ERROR at line 1:<br/>ORA-01516: nonexistent log file, data file, or temporary file "12"<br/></pre><br/><p>El detalle es que en 12cR1, no nos permite mover un datafile que le pertenece a un PDB desde el CDB, si nos cambiamos a la PDB llamada PDB1, ahi si vamos a poder hacerlo</p><br/><pre class="brush: sql; title: ; notranslate" title=""><br/>SQL> ALTER SESSION SET container =PDB1;<br/>Session altered.<br/>SQL> ALTER DATABASE MOVE DATAFILE "/u01/app/oracle/product/12.1.0.2/dbs/rene.dat";<br/>Database altered.<br/></pre><br/><p>Me voy a regresar el CDB para verificar todos los datafiles de nuestra BD y vas a ver que ahora el datafile 12 se encuentra dentro de la ruta del db_create_file_dest</p><br/><pre class="brush: sql; title: ; notranslate" title=""><br/>SQL> ALTER SESSION SET container = cdb$root;<br/>Session altered.<br/>SQL><br/>SQL> SELECT file_id, file_name FROM cdb_data_files ORDER BY file_id;<br/>FILE_ID FILE_NAME<br/>---------- ----------------------------------------------------------------------<br/> 1 /oradata/CDB2/system01.dbf<br/> 3 /oradata/CDB2/sysaux01.dbf<br/> 5 /oradata/CDB2/undotbs01.dbf<br/> 6 /u01/app/oracle/oradata/cdb2/CDB2/datafile/o1_mf_users_bk1wg0z4_.dbf<br/> 7 /oradata/UPGR/system01.dbf<br/> 8 /oradata/UPGR/sysaux01.dbf<br/> 9 /oradata/UPGR/users01.dbf<br/> 10 /tmp/aq01.dbf<br/> 12 /u01/app/oracle/oradata/cdb2/CDB2/datafile/o1_mf_rene_bkpj4t2x_.dbf<br/>9 rows selected.<br/>SQL> SELECT PDB_ID, PDB_NAME, STATUS FROM CDB_PDBS ORDER BY PDB_ID;<br/>PDB_ID PDB_NAME STATUS<br/>---------- --------------- ---------------------------<br/> 2 PDB$SEED NORMAL<br/> 3 PDB1NORMAL<br/></pre><br/><p><strong>Conclusión</strong><br/><br/>Como puedes ver ahora es un proceso mucho mas sencillo para poder cambiar un datafile, así que espero que te ayude en un futuro este pequeño tip.</p>René Antúnezhttp://www.blogger.com/profile/12552421582469327664noreply@blogger.com0tag:blogger.com,1999:blog-4609531821681208136.post-54116266206255300402015-03-05T13:27:00.001-07:002015-03-05T13:27:47.110-07:00Oracle SQLcl ¡ El Futuro de SQL*Plus !<br/><a href='http://rene-ace.com/oracle-sqlcl-futuro-sqlplus/'>Oracle SQLcl ¡ El Futuro de SQL*Plus !</a> <br/><p>En diciembre del 2014 el equipo de Oracle SQLDeveloper lanzo como version beta la herramienta Oracle SQLcl , que en pocas palabras es el motor de SQL*Plus que le pertenece a SQLDeveloper, y la verdad desde que la vi, me enamore de esta pequeña herramienta.</p><br/><p>Esta herramienta la puedes descargar desde OTN , en la sección de <a href='http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/sqldev-41ea-2372780.html'>“Early Adopters” para SQLDeveloper</a>, que es una herramienta de 11Mb, que ya tiene embebida el JRE, asi que esta lista para usarse una vez que descomprimes el archivo. Segun el equipo de SQLDeveloper, es una herramienta que va a ser distribuida con SQLDeveloper v4.1 así como Oracle Database 12cR2</p><br/><p><a href='http://rene-ace.com/wp-content/uploads/2015/03/2015-03-05_1327.png'><img height='300' width='278' alt='2015-03-05_1327' src='http://rene-ace.com/wp-content/uploads/2015/03/2015-03-05_1327-278x300.png' class='aligncenter size-medium wp-image-956'/></a></p><br/><p>Una vez que descargas la herramienta, te puedes conectar con EZConnect, asi como OCI o clientes Thick. En este caso, me voy a conectar al esquema de <strong>HR</strong> en la base de datos “pluggable” <strong>PDB1</strong> en el puerto <strong>1521</strong>.</p><br/><pre title='' class='brush: bash; title: ; notranslate'><br/>Rene@iMac-de-Antunez [] /Users/Rene/Documents/Oracle/SQL Developer/sqlcl/bin<br/>Rene $ pwd<br/>/Users/Rene/Documents/Oracle/SQL Developer/sqlcl/bin<br/>Rene@iMac-de-Antunez [] /Users/Rene/Documents/Oracle/SQL Developer/sqlcl/bin<br/>Rene $ ls<br/>sql sql.bat<br/>Rene@iMac-de-Antunez [] /Users/Rene/Documents/Oracle/SQL Developer/sqlcl/bin<br/>Rene $ sh ./sql hr/hr@192.168.15.167:1521/PDB1<br/>SQLcl: Release 4.1.0 Beta on Thu Mar 05 13:41:05 2015<br/>Copyright (c) 1982, 2015, Oracle. All rights reserved.<br/>Connected to:<br/>Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production<br/>SQL><br/></pre><br/><p>Como puedes ver, muchos de los comandos de SQL*Plus funcionan como antes, pero te da un mensaje que antes no se veia “<em>Try the new information command: info employees</em>”</p><br/><pre title='' class='brush: bash; title: ; notranslate'><br/>SQL> desc employees<br/>Try the new information command: info employees<br/>Name Null Type<br/>-------------- -------- ------------<br/>EMPLOYEE_ID NOT NULL NUMBER(6)<br/>FIRST_NAME VARCHAR2(20)<br/>LAST_NAME NOT NULL VARCHAR2(25)<br/>EMAIL NOT NULL VARCHAR2(25)<br/>PHONE_NUMBER VARCHAR2(20)<br/>HIRE_DATE NOT NULL DATE<br/>JOB_ID NOT NULL VARCHAR2(10)<br/>SALARY NUMBER(8,2)<br/>COMMISSION_PCT NUMBER(2,2)<br/>MANAGER_ID NUMBER(6)<br/>DEPARTMENT_ID NUMBER(4)<br/></pre><br/><p>Y vamos a probar este comando, y es aquí cuando te enamoras de esta herramienta , ya que antes para poder sacar toda esta información, eran varios querys, que si no los tenias guardados, te iba a tomar bastantes minutos para sacar toda esta información. Perdon por poner imagenes, pero mi blog no me permite darle el formato que te permite apreciar el gran beneficio de esta herramienta</p><br/><pre title='' class='brush: bash; title: ; notranslate'><br/>SQL> info employees<br/></pre><br/><p><a href='http://rene-ace.com/wp-content/uploads/2015/03/2015-03-05_1408.png'><img height='556' width='768' alt='2015-03-05_1408' src='http://rene-ace.com/wp-content/uploads/2015/03/2015-03-05_1408-1024x741.png' class='alignnone wp-image-963 size-large'/></a></p><br/><p>Y si con esto, no estas listo para bajar esta herramienta, también hay una versión extendida del comando info</p><br/><pre title='' class='brush: bash; title: ; notranslate'><br/>SQL> info+ employees;<br/></pre><br/><p><a href='http://rene-ace.com/wp-content/uploads/2015/03/2015-03-05_1408_2.png'><img height='491' width='768' alt='2015-03-05_1408_2' src='http://rene-ace.com/wp-content/uploads/2015/03/2015-03-05_1408_2-1024x654.png' class='alignnone size-large wp-image-965'/></a></p><br/><p>Y esto no acaba aqui, antes sacar el DDL de un objeto tenias que usar procedimientos de <em>dbms_metadata.get_ddl</em>, ahora lo unico que tienes que hacer es ejecutar el comando DDL <em>nombre_objeto</em></p><br/><pre title='' class='brush: bash; title: ; notranslate'><br/>SQL> DDL employees<br/><br/> CREATE TABLE "HR"."EMPLOYEES"<br/> ( "EMPLOYEE_ID" NUMBER(6,0),<br/> "FIRST_NAME" VARCHAR2(20),<br/> "LAST_NAME" VARCHAR2(25) CONSTRAINT "EMP_LAST_NAME_NN" NOT NULL ENABLE,<br/> "EMAIL" VARCHAR2(25) CONSTRAINT "EMP_EMAIL_NN" NOT NULL ENABLE,<br/> "PHONE_NUMBER" VARCHAR2(20),<br/> "HIRE_DATE" DATE CONSTRAINT "EMP_HIRE_DATE_NN" NOT NULL ENABLE,<br/> "JOB_ID" VARCHAR2(10) CONSTRAINT "EMP_JOB_NN" NOT NULL ENABLE,<br/> "SALARY" NUMBER(8,2),<br/> "COMMISSION_PCT" NUMBER(2,2),<br/> "MANAGER_ID" NUMBER(6,0),<br/> "DEPARTMENT_ID" NUMBER(4,0),<br/> CONSTRAINT "EMP_SALARY_MIN" CHECK (salary > 0) ENABLE,<br/> CONSTRAINT "EMP_EMAIL_UK" UNIQUE ("EMAIL")<br/> USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS<br/>...<br/> CREATE OR REPLACE EDITIONABLE TRIGGER "HR"."UPDATE_JOB_HISTORY"<br/> AFTER UPDATE OF job_id, department_id ON employees<br/> FOR EACH ROW<br/>BEGIN<br/> add_job_history(:old.employee_id, :old.hire_date, sysdate,<br/> :old.job_id, :old.department_id);<br/>END;<br/>ALTER TRIGGER "HR"."UPDATE_JOB_HISTORY" ENABLE<br/></pre><br/><p>Como puedes ver, aunque son 11Mb, es una herramienta muy poderosa que viene a evolucionar a SQL*Plus, y aunque hay ciertas cosas que se van a poder hacer solo via SQL*Plus, te puedo apostar que a partir de hoy vas a empezar a utilizar SQLcl mucho mas que SQL*Plus</p>René Antúnezhttp://www.blogger.com/profile/12552421582469327664noreply@blogger.com0tag:blogger.com,1999:blog-4609531821681208136.post-5200139395565040132015-02-20T18:53:00.001-07:002015-02-20T18:54:19.375-07:00Por qué RMOUG y dar una platica en Denver es tan importante para mí<br />
<a href="http://rene-ace.com/2015/02/por-que-rmoug-y-dar-una-platica-en-denver-es-tan-importante-para-mi/">Por qué RMOUG y dar una platica en Denver es tan importante para mí</a> <br />
<a href="http://rene-ace.com/wp-content/uploads/2015/02/IMG_1949.jpg" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img alt="IMG_1949" class="alignleft size-thumbnail wp-image-889" src="http://rene-ace.com/wp-content/uploads/2015/02/IMG_1949-150x150.jpg" height="150" width="150" /></a>Para los que escucharon ayer mi primera presentación de RMOUG 2015, se enteraron que estar en Denver, en el Colorado Convention Center y dar una platica en RMOUG es un momento muy personal y emotivo para mí.<br />
<br />
Para aquellos de ustedes que no estuvieron presente, la razón de esto es debido a que cuando yo tenía 9 o 10 años, yo viví en Denver y mi papá solía limpiar oficinas y también dar servicio de “catering” y de vez en cuando solía acompañarlo y ayudarlo en la limpieza de esos lugares y así como en la entrega de alimentos, y yo solía soñar con ser una de las personas que se encontraban en este lugar, que venían a hablar o reunirse y que les entregábamos su comida, en vez de estar allí limpiando el lugar.<br />
<br />
En aquel entonces siempre me había preguntado lo que estaban haciendo y que era tan importante para ellos, que teníamos que entregar este alimento, que ante mis ojos era para gente rica y sofisticada.<br />
<br />
Después de dos años, dejé Denver y regresé a México, y crecí y estudié allí, pero esos pensamientos en realidad nunca se fueron de mi mente, así que cuando en el 2013 me invitaron a dar una platica a Denver para IOUG Collaborate , fue un sueño hecho realidad.<br />
<br />
Este año, cuando me invitaron de nuevo a dar unas platicas a Denver no fue menos especial, ya que este año me convertí en la primera persona que pasó de ser un Oracle ACE Associate, que f<a href="http://rene-ace.com/2014/05/mi-camino-para-convertirme-en-un-oracle-ace-associate/">ue un premio bastante difícil de recibir</a>, a un Oracle ACE, y fue aquí en Denver donde me entregaron, en la cena de los Oracle ACEs, mi premio. No puedo expresar la alegría y la satisfacción que tengo en este momento, y sin ninguna pena, que al escribir esto, tengo lágrimas de felicidad en mis ojos, y lo único que puedo decir es que “<em><a href="http://rene-ace.com/2014/12/la-macchina-va-dove-vanno-gli-occhi/">La macchina va dove vanno gli occhi</a></em> ”<br />
<br />
P.S. – Así que si en mi ultima platica no me viste usar corbata, es porque estaba usando mi sudadera de ACERené Antúnezhttp://www.blogger.com/profile/12552421582469327664noreply@blogger.com0tag:blogger.com,1999:blog-4609531821681208136.post-14696598447342664082015-02-11T10:46:00.001-07:002015-02-13T09:57:56.563-07:00Oracle 12c R1- Actualización de tu BD de 11.2.0.4 a 12.1.0.2<br />
<a href="http://rene-ace.com/2015/02/oracle-12c-r1-actualizacion-de-tu-bd-de-11-2-0-4-12-1-0-2/">Oracle 12c R1- Actualización de tu BD de 11.2.0.4 a 12.1.0.2</a> <br />
<a href="http://rene-ace.com/wp-content/uploads/2015/02/12c.png" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img alt="12c" class="alignleft size-thumbnail wp-image-879" src="http://rene-ace.com/wp-content/uploads/2015/02/12c-150x150.png" height="150" width="150" /></a>Como muchos ya saben , ahora en Enero del 2015 se acabo el soporte Premier de la Version 11.2 de la BD de Oracle, así que es el momento de pensar en actualizar tus BDs a la ultima version , que es la 12.1.0.2 . Aquí no voy a entrar a detalle de como instalar los binarios de Oracle 12c , eso lo puedes tomar del post de RAC Attack .<br />
<br />
Lo primero que tenemos que hacer es correr el script preupgrd.sql que viene en los binarios de 12.1 como sysdba<br />
<br />
<pre class="brush: sql; title: ; notranslate" title="">
oracle@localhost.localdomain [RENE] /home/oracle
oracle $ echo $ORACLE_HOME
/u01/app/oracle/product/11.2.0
oracle@localhost.localdomain [RENE] /home/oracle
oracle $ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Tue Feb 10 19:39:05 2015
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining
and Real Application Testing options
SQL> @/u01/app/oracle/product/12.1.0.2/rdbms/admin/preupgrd.sql
</pre>
<br />
Y el resultado va a ser una serie de recomendaciones que tienes que hacer antes y despues de hacer la actualización a 12c<br />
<br />
<pre class="brush: sql; title: ; notranslate" title="">
...
***************************************************************************
Executing Pre-Upgrade Checks in RENE...
***************************************************************************
************************************************************
====>> ERRORS FOUND for RENE <<====
The following are *** ERROR LEVEL CONDITIONS *** that must be addressed
prior to attempting your upgrade.
Failure to do so will result in a failed upgrade.
1) Check Tag: OLS_SYS_MOVE
Check Summary: Check if SYSTEM.AUD$ needs to move to SYS.AUD$ before upgrade
Fixup Summary:
"Execute olspreupgrade.sql script prior to upgrade."
+++ Source Database Manual Action Required +++
You MUST resolve the above error prior to upgrade
************************************************************
************************************************************
====>> PRE-UPGRADE RESULTS for RENE <<====
ACTIONS REQUIRED:
1. Review results of the pre-upgrade checks:
/u01/app/oracle/cfgtoollogs/RENE/preupgrade/preupgrade.log
...
</pre>
<br />
Así que lo primero que vamos a hacer es revisar el archivo preupgrade.log para ver que tenemos que corregir antes de continuar, aqui no voy a poner todo, pero si un pequeño resumen de lo que es el archivo<br />
<br />
<pre class="brush: sql; title: ; notranslate" title="">
oracle@localhost.localdomain [RENE] /home/oracle
oracle $ cat /u01/app/oracle/cfgtoollogs/RENE/preupgrade/preupgrade.log
Oracle Database Pre-Upgrade Information Tool 02-10-2015 19:39:32
Script Version: 12.1.0.2.0 Build: 006
**********************************************************************
Database Name: RENE
Container Name: Not Applicable in Pre-12.1 database
Container ID: Not Applicable in Pre-12.1 database
Version: 11.2.0.4.0
Compatible: 11.2.0.4.0
Blocksize: 8192
Platform: Linux x86 64-bit
Timezone file: V14
**********************************************************************
...
**********************************************************************
[Component List]
**********************************************************************
--> Oracle Catalog Views [upgrade] VALID
--> Oracle Packages and Types [upgrade] VALID
--> JServer JAVA Virtual Machine [upgrade] VALID
--> Oracle XDK for Java [upgrade] VALID
--> Oracle Workspace Manager [upgrade] VALID
--> OLAP Analytic Workspace [upgrade] VALID
--> Oracle Label Security [upgrade] VALID
--> Oracle Text [upgrade] VALID
--> Oracle XML Database [upgrade] VALID
--> Oracle Java Packages [upgrade] VALID
--> Expression Filter [upgrade] VALID
--> Rule Manager [upgrade] VALID
--> Oracle OLAP API [upgrade] VALID
...
**********************************************************************
[Pre-Upgrade Checks]
**********************************************************************
WARNING: --> Process Count may be too low
Database has a maximum process count of 78 which is lower than the
default value of 300 for this release.
You should update your processes value prior to the upgrade
to a value of at least 300.
For example:
ALTER SYSTEM SET PROCESSES=300 SCOPE=SPFILE
or update your init.ora file.
ERROR: --> SYSTEM.AUD$ (audit records) Move
Oracle requires that records in the audit table SYSTEM.AUD$ be moved
to SYS.AUD$ prior to upgrading..
The Database has 38 rows in SYSTEM.AUD$ which
will be moved during the upgrade.
The downtime during the upgrade will be affected if there are a
large number of rows to be moved.
The audit data can be moved manually prior to the upgrade by using
the script: rdbms/admin/olspreupgrade.sql which is part of the
Oracle Database 12c software.
Please refer to the Label Security Administrator guide or
the Database Upgrade guide.
INFORMATION: --> OLAP Catalog(AMD) exists in database
Starting with Oracle Database 12c, OLAP Catalog component is desupported.
If you are not using the OLAP Catalog component and want
to remove it, then execute the
ORACLE_HOME/olap/admin/catnoamd.sql script before or
after the upgrade.
INFORMATION: --> Older Timezone in use
Database is using a time zone file older than version 18.
After the upgrade, it is recommended that DBMS_DST package
be used to upgrade the 11.2.0.4.0 database time zone version
to the latest version which comes with the new release.
Please refer to My Oracle Support note number 977512.1 for details.
INFORMATION: --> There are existing Oracle components that will NOT be
upgraded by the database upgrade script. Typically, such components
have their own upgrade scripts, are deprecated, or obsolete.
Those components are: OLAP Catalog
**********************************************************************
[Pre-Upgrade Recommendations]
**********************************************************************
*****************************************
********* Dictionary Statistics *********
*****************************************
Please gather dictionary statistics 24 hours prior to
upgrading the database.
To gather dictionary statistics execute the following command
while connected as SYSDBA:
EXECUTE dbms_stats.gather_dictionary_stats;
^^^ MANUAL ACTION SUGGESTED ^^^
**********************************************************************
[Post-Upgrade Recommendations]
**********************************************************************
*****************************************
******** Fixed Object Statistics ********
*****************************************
Please create stats on fixed objects two weeks
after the upgrade using the command:
EXECUTE DBMS_STATS.GATHER_FIXED_OBJECTS_STATS;
^^^ MANUAL ACTION SUGGESTED ^^^
**********************************************************************
************ Summary ************
1 ERROR exist that must be addressed prior to performing your upgrade.
1 WARNING that Oracle suggests are addressed to improve database performance.
3 INFORMATIONAL messages that should be reviewed prior to your upgrade.
After your database is upgraded and open in normal mode you must run
rdbms/admin/catuppst.sql which executes several required tasks and completes
the upgrade process.
You should follow that with the execution of rdbms/admin/utlrp.sql, and a
comparison of invalid objects before and after the upgrade using
rdbms/admin/utluiobj.sql
If needed you may want to upgrade your timezone data using the process
described in My Oracle Support note 1509653.1
***********************************</pre>
<br />
Ya que verificamos el archivo, lo primero que vamos a quitar es el componente del Catalogo OLAP (AMD), ya que este no es soportado e incluido en 12c, así que es algo que tienes que tomar en cuenta cuando hagas tu actualización<br />
<br />
<pre class="brush: sql; title: ; notranslate" title="">
oracle@localhost.localdomain [RENE] /home/oracle
oracle $ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Tue Feb 10 19:41:51 2015
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining
and Real Application Testing options
SQL> @/u01/app/oracle/product/12.1.0.2/olap/admin/catnoamd.sql

Synonym dropped.
...
Synonym dropped.
PL/SQL procedure successfully completed.
1 row deleted.
SQL> commit;
Commit complete.</pre>
<br />
Lo siguiente es que vamos a mover los registros con el script olspreupgrade.sql que se encuentran en la tabla AUD$ debido al componente Oracle Label Security<br />
<br />
<pre class="brush: sql; title: ; notranslate" title="">
SQL> @/u01/app/oracle/product/12.1.0.2/rdbms/admin/olspreupgrade.sql
Function created.
No errors.
Function created.
No errors.
Function created.
No errors.
2015-02-10 19:42:17 ******* BEGINNING OLS PRE RENEADE SCRIPT ********
The amount of FREE space required = 131072 Bytes
Free space available on SYSTEM tablespace= 33798078464 Bytes
2015-02-10 19:42:17 ******** PROCEEDING WITH OLS PRE RENEADE *******
Audit records successfully moved to SYS.PREUPG_AUD$
PL/SQL procedure successfully completed.
No errors.
Total number of rows in SYS.PREUPG_AUD$: 38
2015-02-10 19:42:18 ******* FINISHING OLS PRE RENEADE SCRIPT ********
PL/SQL procedure successfully completed.
</pre>
<br />
Para continuar, vamos a hacer unos cambios en el spfile para poder hacer nuestra actualización<br />
<br />
<pre class="brush: sql; title: ; notranslate" title="">
SQL> create pfile from spfile;
File created.
SQL> alter system set processes=300 scope=spfile;
System altered.
SQL> alter system set COMPATIBLE='12.1.0' scope=spfile;
System altered.
SQL> EXECUTE dbms_stats.gather_dictionary_stats;
PL/SQL procedure successfully completed.</pre>
<br />
El ultimo paso para empezar nuestra actualización , vamos a correr el preupgrade_fixups.sql, aqui me esta marcando el error en OLS_SYS_MOVE, pero si reviso el log me dice que tengo 0 registros que mover<br />
<br />
<pre class="brush: sql; title: ; notranslate" title="">
SQL> @/u01/app/oracle/cfgtoollogs/RENE/preupgrade/preupgrade_fixups.sql
Pre-Upgrade Fixup Script Generated on 2015-02-10 19:39:30 Version: 12.1.0.2 Build: 006
Beginning Pre-Upgrade Fixups...
Executing in container RENE
...
**********************************************************************
[Pre-Upgrade Recommendations]
**********************************************************************
**********************************************************************
Check Tag: OLS_SYS_MOVE
Check Summary: Check if SYSTEM.AUD$ needs to move to SYS.AUD$ before upgrade
Fix Summary: Execute olspreupgrade.sql script prior to upgrade.
**********************************************************************
Fixup Returned Information:
ERROR: --> SYSTEM.AUD$ (audit records) Move
Oracle requires that records in the audit table SYSTEM.AUD$ be moved
to SYS.AUD$ prior to upgrading..
The Database has 0 rows in SYSTEM.AUD$ which
will be moved during the upgrade.
The downtime during the upgrade will be affected if there are a
large number of rows to be moved.
The audit data can be moved manually prior to the upgrade by using
the script: rdbms/admin/olspreupgrade.sql which is part of the
Oracle Database 12c software.
Please refer to the Label Security Administrator guide or
the Database Upgrade guide.
**********************************************************************
...
*****************************************
********* Dictionary Statistics *********
*****************************************
Please gather dictionary statistics 24 hours prior to
upgrading the database.
To gather dictionary statistics execute the following command
while connected as SYSDBA:
EXECUTE dbms_stats.gather_dictionary_stats;
^^^ MANUAL ACTION SUGGESTED ^^^
**************************************************
************* Fixup Summary ************
2 fixup routines returned INFORMATIONAL text that should be reviewed.
1 ERROR LEVEL check returned INFORMATION that must be acted on prior to upgrade.
************************************************************
====>> USER ACTION REQUIRED <<====
************************************************************
1) Check Tag: OLS_SYS_MOVE failed.
Check Summary: Check if SYSTEM.AUD$ needs to move to SYS.AUD$ before upgrade
Fixup Summary:
"Execute olspreupgrade.sql script prior to upgrade."
^^^ MANUAL ACTION REQUIRED ^^^
**************************************************
You MUST resolve the above error prior to upgrade
**************************************************
**************** Pre-Upgrade Fixup Script Complete *********************
PL/SQL procedure successfully completed.</pre>
<br />
Vamos a bajar nuestra instancia y copiar los archivos de passwords y spfile<br />
<br />
<pre class="brush: sql; title: ; notranslate" title="">
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining
and Real Application Testing options
oracle@localhost.localdomain [RENE] /home/oracle
oracle $ cp /u01/app/oracle/product/11.2.0/dbs/orapwRENE /u01/app/oracle/product/12.1.0.2/dbs/
oracle@localhost.localdomain [RENE] /home/oracle
oracle $ cp /u01/app/oracle/product/11.2.0/dbs/spfileRENE.ora /u01/app/oracle/product/12.1.0.2/dbs/</pre>
<br />
Lo que tenemos que hacer ahora es cambiar el ORACLE_HOME para que apunte a los nuevos binarios<br />
<br />
<pre class="brush: sql; title: ; notranslate" title="">
oracle@localhost.localdomain [RENE] /u01/app/oracle/product/12.1.0.2/rdbms/admin
oracle $ export ORACLE_HOME="/u01/app/oracle/product/12.1.0.2"
oracle@localhost.localdomain [RENE] /u01/app/oracle/product/12.1.0.2/rdbms/admin
oracle $ echo $ORACLE_HOME
/u01/app/oracle/product/12.1.0.2</pre>
<br />
Ya que cambiamos el ORACLE_HOME, vamos a levantar la instancia en mode upgrade y vamos a cambiarnos a la ruta $ORACLE_HOME/rdbms/admin<br />
<br />
<pre class="brush: sql; title: ; notranslate" title="">
oracle@localhost.localdomain [RENE] /home/oracle
oracle $ sqlplus / as sysdba
SQL*Plus: Release 12.1.0.2.0 Production on Tue Feb 10 19:47:47 2015
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup upgrade
ORACLE instance started.
Total System Global Area 826277888 bytes
Fixed Size 2929792 bytes
Variable Size 322964352 bytes
Database Buffers 494927872 bytes
Redo Buffers 5455872 bytes
Database mounted.
Database opened.
SQL> exit
Disconnected from Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
oracle@localhost.localdomain [RENE] /home/oracle
oracle $ cd $ORACLE_HOME/rdbms/admin</pre>
<br />
Y ahora vamos a correr la nueva manera de actualizar nuestras BDs, que es con el script de perl catctl.pl, este va a correr en 73 fases, algunos en modo serial , algunos otros en modo paralelo, como lo puedes ver en el ejemplo de abajo<br />
<br />
<pre class="brush: sql; title: ; notranslate" title="">
oracle@localhost.localdomain [RENE] /u01/app/oracle/product/12.1.0.2/rdbms/admin
oracle $ $ORACLE_HOME/perl/bin/perl catctl.pl catupgrd.sql
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Argument list for [catctl.pl]
SQL Process Count n = 0
SQL PDB Process Count N = 0
Input Directory d = 0
Phase Logging Table t = 0
Log Dir l = 0
Script s = 0
Serial Run S = 0
Upgrade Mode active M = 0
Start Phase p = 0
End Phase P = 0
Log Id i = 0
Run in c = 0
Do not run in C = 0
Echo OFF e = 1
No Post Upgrade x = 0
Reverse Order r = 0
Open Mode Normal o = 0
Debug catcon.pm z = 0
Debug catctl.pl Z = 0
Display Phases y = 0
Child Process I = 0
catctl.pl version: 12.1.0.2.0
Oracle Base = /u01/app/oracle
Analyzing file catupgrd.sql
Log files in /u01/app/oracle/product/12.1.0.2/rdbms/admin
catcon: ALL catcon-related output will be written to catupgrd_catcon_4207.lst
catcon: See catupgrd*.log files for output generated by scripts
catcon: See catupgrd_*.lst files for spool files, if any
Number of Cpus = 2
SQL Process Count = 0
New SQL Process Count = 4
------------------------------------------------------
Phases [0-73]
Serial Phase #: 0 Files: 1
Time: 146s
Serial Phase #: 1 Files: 5 Time: 53s
Restart Phase #: 2 Files: 1 Time: 0s
Parallel Phase #: 3 Files: 18 Time: 13s
...
Serial Phase #:65 Files: 1 Calling sqlpatch with LD_LIBRARY_PATH=/u01/app/oracle/product/12.1.0.2/lib; export LD_LIBRARY_PATH;/u01/app/oracle/product/12.1.0.2/perl/bin/perl -I /u01/app/oracle/product/12.1.0.2/rdbms/admin -I /u01/app/oracle/product/12.1.0.2/rdbms/admin/../../sqlpatch /u01/app/oracle/product/12.1.0.2/rdbms/admin/../../sqlpatch/sqlpatch.pl -verbose -upgrade_mode_only > catupgrd_datapatch_upgrade.log 2> catupgrd_datapatch_upgrade.err
returned from sqlpatch
Time: 29s
Serial Phase #:66 Files: 1 Time: 52s
Serial Phase #:68 Files: 1 Time: 0s
Serial Phase #:69 Files: 1 Calling sqlpatch with LD_LIBRARY_PATH=/u01/app/oracle/product/12.1.0.2/lib; export LD_LIBRARY_PATH;/u01/app/oracle/product/12.1.0.2/perl/bin/perl -I /u01/app/oracle/product/12.1.0.2/rdbms/admin -I /u01/app/oracle/product/12.1.0.2/rdbms/admin/../../sqlpatch /u01/app/oracle/product/12.1.0.2/rdbms/admin/../../sqlpatch/sqlpatch.pl -verbose > catupgrd_datapatch_normal.log 2> catupgrd_datapatch_normal.err
returned from sqlpatch
Time: 59s
Serial Phase #:70 Files: 1 Time: 72s
Serial Phase #:71 Files: 1 Time: 0s
Serial Phase #:72 Files: 1 Time: 0s
Serial Phase #:73 Files: 1 Time: 44s
Grand Total Time: 1742s
LOG FILES: (catupgrd*.log)
Upgrade Summary Report Located in:
/u01/app/oracle/product/12.1.0.2/cfgtoollogs/RENE/upgrade/upg_summary.log
Grand Total Upgrade Time: [0d:0h:29m:2s]
oracle@localhost.localdomain [RENE] /u01/app/oracle/product/12.1.0.2/rdbms/admin
oracle $ cat /u01/app/oracle/product/12.1.0.2/cfgtoollogs/RENE/upgrade/upg_summary.log
Oracle Database 12.1 Post-Upgrade Status Tool 02-10-2015 20:18:15
Component Current Version Elapsed Time
Name Status Number HH:MM:SS
Oracle Server RENEADED 12.1.0.2.0 00:14:46
JServer JAVA Virtual Machine VALID 12.1.0.2.0 00:03:52
Oracle Workspace Manager VALID 12.1.0.2.0 00:00:58
OLAP Analytic Workspace VALID 12.1.0.2.0 00:00:37
Oracle OLAP API VALID 12.1.0.2.0 00:00:22
Oracle Label Security VALID 12.1.0.2.0 00:00:11
Oracle XDK VALID 12.1.0.2.0 00:00:40
Oracle Text VALID 12.1.0.2.0 00:00:57
Oracle XML Database VALID 12.1.0.2.0 00:01:36
Oracle Database Java Packages VALID 12.1.0.2.0 00:00:17
Final Actions 00:01:20
Post Upgrade 00:01:10
Total Upgrade Time: 00:27:13
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.14
Grand Total Upgrade Time: [0d:0h:29m:2s]</pre>
<br />
Como puedes ver todo es valido, pero vamos a compilar todos nuestros objetos con utlrp.sql<br />
<br />
<pre class="brush: sql; title: ; notranslate" title="">
oracle@localhost.localdomain [RENE] /u01/app/oracle/product/12.1.0.2/rdbms/admin
oracle $ sqlplus / as sysdba
SQL*Plus: Release 12.1.0.2.0 Production on Tue Feb 10 20:21:53 2015
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 826277888 bytes
Fixed Size 2929792 bytes
Variable Size 432016256 bytes
Database Buffers 385875968 bytes
Redo Buffers 5455872 bytes
Database mounted.
Database opened.
SQL> @?/rdbms/admin/utlrp.sql</pre>
<br />
Ahora lo que tenemos que hacer es correr el script postupgrade_fixups.sql<br />
<br />
<pre class="brush: sql; title: ; notranslate" title="">
SQL> @/u01/app/oracle/cfgtoollogs/RENE/preupgrade/postupgrade_fixups.sql
Post Upgrade Fixup Script Generated on 2015-02-10 19:39:30 Version: 12.1.0.2 Build: 006
Beginning Post-Upgrade Fixups...
**********************************************************************
Check Tag: OLD_TIME_ZONES_EXIST
Check Summary: Check for use of older timezone data file
Fix Summary: Update the timezone using the DBMS_DST package after upgrade is complete.
**********************************************************************
Fixup Returned Information:
INFORMATION: --> Older Timezone in use
Database is using a time zone file older than version 18.
After the upgrade, it is recommended that DBMS_DST package
be used to upgrade the 12.1.0.2.0 database time zone version
to the latest version which comes with the new release.
Please refer to My Oracle Support note number 977512.1 for details.
**********************************************************************
**********************************************************************
Check Tag: NOT_UPG_BY_STD_RENED
Check Summary: Identify existing components that will NOT be upgraded
Fix Summary: This fixup does not perform any action.
**********************************************************************
Fixup Returned Information:
This fixup does not perform any action.
If you want to upgrade those other components, you must do so manually.
**********************************************************************
**********************************************************************
[Post-Upgrade Recommendations]
**********************************************************************
*****************************************
******** Fixed Object Statistics ********
*****************************************
Please create stats on fixed objects two weeks
after the upgrade using the command:
EXECUTE DBMS_STATS.GATHER_FIXED_OBJECTS_STATS;
^^^ MANUAL ACTION SUGGESTED ^^^
**************************************************
************* Fixup Summary ************
2 fixup routines generated INFORMATIONAL messages that should be reviewed.
*************** Post Upgrade Fixup Script Complete ********************
PL/SQL procedure successfully completed.</pre>
<br />
Como puedes ver, lo unico que falta es cambiar el archivo de las zonas de tiempo, que aqui no voy a entrar en detalle, ya que eso lo puedes ver en la nota 977512.1, pero que sepas que es algo que tienes que hacer, pero aqui te voy a mostrar que pase de la version 14 a la version 18<br />
<br />
<pre class="brush: sql; title: ; notranslate" title="">
...
PROPERTY_NAME VALUE
-------------------------------------------------------------------------------------
DST_PRIMARY_TT_VERSION 18
DST_SECONDARY_TT_VERSION 14
DST_UPGRADE_STATE UPGRADE
...
PROPERTY_NAME VALUE
-------------------------------------------------------------------------------------
DST_PRIMARY_TT_VERSION 18
DST_SECONDARY_TT_VERSION 0
DST_UPGRADE_STATE NONE
FILENAME VERSION CON_ID
------------------------------------------------------------ ---------- ----------
timezlrg_18.dat 18 0</pre>
<br />
Espero que este pequeño post te ayude en tu próxima actualización de tu Base de Datos y si tienes alguna pregunta o duda, hazmelo saber.René Antúnezhttp://www.blogger.com/profile/12552421582469327664noreply@blogger.com0tag:blogger.com,1999:blog-4609531821681208136.post-42705997627213014182015-02-05T09:28:00.001-07:002015-02-05T09:48:54.517-07:00Mi Primer IOUG #PlugInToVegas para Collaborate 2015<br />
<a href="http://rene-ace.com/2015/02/mi-primer-ioug-plugintovegas-para-collaborate-2015/">Mi Primer IOUG #PlugInToVegas para Collaborate 2015</a> <br />
<a href="http://rene-ace.com/wp-content/uploads/2015/02/904438_10203660764900509_4645413709921957554_o.jpg" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img alt="904438_10203660764900509_4645413709921957554_o" class="alignleft size-thumbnail wp-image-859" src="http://rene-ace.com/wp-content/uploads/2015/02/904438_10203660764900509_4645413709921957554_o-150x150.jpg" height="150" width="150" /></a>El día de hoy recibí un correo electrónico de <a href="https://twitter.com/IOUG/">@IOUG</a> que mi sesión en Collaborate de este año 2015 (<em><strong>556</strong></em>:<em>Architecting your own DBaaS in a Private Cloud with EM12c</em> ) va a ser parte de la conferencia virtual #PlugInToVegas , y a pesar de que he presentado varias veces en Collaborate y he hecho varios seminarios via web, esta es la primera vez que hare estas dos al mismo tiempo, por lo que será un nuevo reto en este proyecto de vida que traigo y espero que todos los que estarán presentes de manera virtual puedan disfrutar de ella de la misma manera que los que estarán presente en la sala de conferencias.<br />
<br />
Así que si no vas a estar en Collaborate de este año en Las Vegas, te invito a que me acompañes en #PlugInToVegas, tu opción virtual <span class="s2"><a href="http://t.co/K3kTeRBqkJ" style="line-height: 1.5;">ow.ly/IdP5L</a></span><br />
<br />
También, como ya probablemente sepas, soy parte del Cloud SIG de IOUG y si si vas a estar presente en Las Vegas, te invito a que nos acompañes en las <a href="http://goo.gl/MIqWfS">sesiones que el tema principal sera la nube</a> y así puedas obtener el máximo provecho de este gran evento.René Antúnezhttp://www.blogger.com/profile/12552421582469327664noreply@blogger.com0tag:blogger.com,1999:blog-4609531821681208136.post-81474522228880040452014-12-08T14:28:00.001-07:002014-12-08T15:11:08.178-07:00¿Sabes como funciona tu respaldo de RMAN en Oracle?Articulo creado en <a href="http://rene-ace.com/">rene-ace.com</a> .- <span style="color: #0000ee; text-decoration: underline;"><a href="http://rene-ace.com/2014/12/funciona-respaldo-de-oracle-rman/" target="_blank">¿Sabes como funciona tu respaldo de RMAN en Oracle?</a></span><br />
<span style="color: #0000ee; text-decoration: underline;"><br /></span>
Lo primero que tenemos que hacer, es entender lo que es RMAN y cómo es que funciona. Oracle Recovery Manager o mejor conocido como RMAN, es una herramienta de Oracle que se instala con la edición Enterprise o edición Standard, también puedes encontrarlo con la opción “<em>Admin option</em>” al instalar el cliente de Oracle.<br />
<br />
En su forma más básica, el cliente de RMAN se conecta a la base de datos que se respalda , y esta conexión tiene que ser como un usuario privilegiado de “sysdba” , esta base de datos se le cononoce como base de datos <em>destino. </em>Este cliente, es un ejecutable que se encuentra en <em><strong>$ORACLE_HOME/bin.</strong></em><br />
<br />
Al ser una herramienta de tipo cliente, te permite utilizar un ejecutable de RMAN de versión mayor a la de los binarios de la base de datos así pudiendo respaldar versiones actuales y anteriores de la base de datos ; hay algunas restricciones a esto, y estas se pueden verificar en el documento de <strong>MOS</strong> <em><strong>RMAN Compatibility Matrix [ID 73431.1].</strong></em><br />
<br />
Este ejecutable de RMAN utiliza un archivo llamado <em>recover.bsq</em>, este archivo se encuentra en <em><strong>$ORACLE_HOME/rdbms/admin. </strong></em>Básicamente lo que hace el ejecutable, es interpretar los comandos que le envías, dirige las sesiones de servidor para ejecutar los comandos, y registra su actividad en el archivo de control (<em>control file) </em>de la base de datos de destino que se está respaldando.<br />
<br />
Hay dos paquetes principales de <em>SYS</em> que hacen el trabajo de respaldo y recuperación, que son <em><strong>DBMS_RCVMAN</strong></em>, este tiene los procedimientos que enumeran tus encarnaciones de base de datos, el SLA de la ventana de tiempo de recuperación, la lista de los respaldos, por nombrar algunas de las cosas que puede hacer.<br />
<br />
Así como <em><strong>DBMS_BACKUP_RESTORE</strong></em>, que como ya habrás adivinado, es el que hace las operaciones respaldos y recuperación, como crear el snapshot del archivo de control (<em>control file)</em>, respaldar los archivos de datos (<em>datafiles</em>), copia de seguridad del <em>spfile</em> por nombrar algunos.<br />
<br />
<a href="http://rene-ace.com/wp-content/uploads/2014/12/2014-12-08_1510.png"><img alt="2014-12-08_1510" class="aligncenter size-large wp-image-729" src="http://rene-ace.com/wp-content/uploads/2014/12/2014-12-08_1510-1024x511.png" height="383" width="768" /></a><br />
<br />
Como se mencionó anteriormente, la forma en que el cliente de RMAN dirige las sesiones de servidor para ejecutar los comandos es a través de uno o varios canales (<em>channels</em>), un canal representa un flujo de datos a un dispositivo, y corresponde a una sesión del servidor de base de datos. El canal lee los datos en la memoria PGA, lo procesa, y lo escribe en el dispositivo de salida.<br />
<br />
El trabajo de cada canal, ya sea de tipo de disco (<em>disk</em>) o de sistema de respaldo en cinta (<em>SBT</em>), se subdivide en las siguientes fases:<br />
<br />
<ul>
<li>Fase de Lectura</li>
</ul>
<div style="padding-left: 30px;">
Un canal lee bloques del disco hacia buffers de I/O . La asignación de estos buffers depende del número de archivos de datos (<em>datafiles</em>) que se leen de forma simultánea desde el disco y se escriben en la misma pieza de respaldo. Una forma de controlar los números de los archivos es usar el parámetro de respaldo <em>FILESPERSET.</em></div>
<ul>
<li>Fase de Copiado</li>
</ul>
<div style="padding-left: 30px;">
Un canal copia los bloques de los buffers de Entrada hacia los buffers de Salida y realiza un procesamiento adicional en los bloques, como la validación de los bloques de datos, ya que comprueba que no esta copiando datos corruptos al archivo de respaldo, es también la fase donde se hace la compresión binaria y el cifrado del respaldo.</div>
<ul>
<li>Fase de Escritura</li>
</ul>
<div style="padding-left: 30px;">
Un canal escribe los bloques del buffer de salida a los medios de almacenamiento. La fase de escritura puede ser que sea para SBT o para disco, y estos son mutuamente excluyentes, es decir, que se escribe en uno u otro, pero no en ambos.</div>
<br />
<a href="http://rene-ace.com/wp-content/uploads/2014/12/2014-12-08_1352.png"><img alt="2014-12-08_1352" class="aligncenter size-large wp-image-724" src="http://rene-ace.com/wp-content/uploads/2014/12/2014-12-08_1352-1024x398.png" height="298" width="768" /></a><br />
<br />
Como se puede ver por las fases anteriores, lo que distingue a RMAN de cualquier otro método, es que los respaldos son a nivel de bloque de datos, a diferencia de los respaldos gestionados por el usuario, y esto trae grandes ventajas, ya que no tendrás que respaldar bloques vacíos, elimina la corrupción en tus respaldos y te permite hacer la compresión maxima al hacerlo.<br />
<br />
Cuando decides escribir en SBT, Oracle utiliza su Capa de Media Manager (MML) para permitir que RMAN se comunique con los aplicaciones de terceros (Tivoli,NetApp,etc) y escribir la pieza de respaldo resultante al dispositivo de medios secuenciales. Oracle utiliza una biblioteca, que es en realidad un enlace simbólico a la librería real de la aplicación de terceros de manejo de medios media , localizada en <em><strong>$ORACLE_HOME/lib</strong></em> llamada <em>libobk.so</em> (<em>orasbt.dll</em> en Windows), por ejemplo para configurar Oracle RMAN 11.2.0.3 en RHEL 5 versión de 64 bits con Veritas NetBackup, tendrías que hacer lo siguiente:<br />
<pre class="brush: bash; title: ; notranslate" title="">cd $ORACLE_HOME/lib
mv libobk.so libobk.so.orig
ln -s /<install_path>/netbackup/bin/libobk.so64 libobk.so</pre>
<br />
La creación de este enlace sólo permite a RMAN poder pasar comandos al <em>MML</em> y éste inter actuará con el director de manejador de medios, pero para que puedas ser capaz de completar un respaldo de SBT, tienes que establecer los parámetros necesarios al asignar un canal, con el parámetro <em>PARMS</em>.Esto es específico a cada proveedor , por lo que verá, como ejemplo, para Veritas NetBackup tienes parámetros como <em>NB_ORA_SERV</em>, <em>NB_ORA_CLIENT</em>, <em>NB_ORA_POLICY</em>, y para Tivoli Storage Manager se especifica un archivo llamado <em>tdpo.opt</em> a través del parámetro <em>TDPO_OPTFILE</em> , en el cual se establecen los ajustes apropiados para este proveedor.<br />
<br />
Como se puede ver a continuación, la especificación del parámetro PARMS se hace cuando haces un <em>ALLOCATE CHANNEL</em> o configurar el canal con <em>CONFIGURE CHANNEL</em>.<br />
<pre class="brush: sql; title: ; notranslate" title="">RMAN> run
2>
3> ALLOCATE CHANNEL CH1 DEVICE TYPE 'SBT_TAPE'
PARMS'SBT_LIBRARY=<NBU_install_path>/netbackup/bin/libobk.so64,ENV=(NB_ORA_SERV = MASTER_SERVER,
4> NB_ORA_POLICY=5week,NB_ORA_CLIENT=CLIENT_SERVER)' format '%d_TAPE_%I_%s_%T_%t';
5> backup backupset all;
6>
using target database control file instead of recovery catalog
allocated channel: CH1
channel CH1: SID=58 instance=TESTDB1 device type=SBT_TAPE
channel CH1: Veritas NetBackup for Oracle - Release 6.5 (2010042404)</pre>
<br />
<strong>Conclusión</strong>Espero que esta pequeña introducción de como funciona un respaldo de RMAN te sea util y te ayude cuando estes empezando a usar esta herramienta.<br />
<br />
<br />René Antúnezhttp://www.blogger.com/profile/12552421582469327664noreply@blogger.com0tag:blogger.com,1999:blog-4609531821681208136.post-44112576513890194942014-12-05T14:04:00.001-07:002014-12-05T14:09:01.597-07:00Oracle 12cR1 : RAC Attack a la Mexicana – Instalación de los binarios de Oracle RDBMS<a href="https://en.wikibooks.org/wiki/RAC_Attack_-_Oracle_Cluster_Database_at_Home/RAC_Attack_12c" target="_blank">RAC Attack</a> es un libro que ha sido escrito por varias personas en el ámbito de Oracle y que tu eres libre de editar y contribuir, pero una de las quejas que existía es que no había una versión en español, y es por eso que estoy escribiendo esta serie de posts, en donde también los voy a hacer disponibles en el libro de RAC Attack.<br />
<br />
<a href="http://rene-ace.com/2014/11/rac-attack-os-dns/" target="_blank">En la 1a parte</a>, vimos las necesidades de HW y SW, así como la instalación del OS RHEL 6.5<br />
<br />
<a href="http://rene-ace.com/2014/11/racattack_vm_os/" target="_blank">En la 2a parte</a> vimos la configuración del OS en el primer nodo y segundo nodo, así como la configuración del DNS.<br />
<br />
<a href="http://rene-ace.com/2014/12/instalacion-gi-12c/" target="_blank">En la 3a parte</a> vimos a ver la instalación de los binarios del Grid Infrastructure y su configuración<br />
<br />
En esta 4a parte vamos a instalar los binarios del RDBMS.<br />
<br />
<i><span style="color: red;">Nota</span>.- Cuando veas lo siguiente en la salida de una terminal "...", es para acortar las lineas de salida</i><br />
<div>
<br /></div>
<b><u>Instalación de los binarios del RDBMS</u></b><br />
<br />
Inicia una sesión como el usuario <i>oracle</i> en el nodo <b><i>collabn1</i></b> y abre una terminal de bash como se mostro al final de la 1a parte<br />
<br />
Ejecuta el instalador como el usuario <i>oracle</i>.<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[oracle@collabn1 sf_rac_media]$</span> /media/sf_rac_media/database/runInstaller
<span style="color: #888888;">Starting Oracle Universal Installer...</span>
<span style="color: #888888;">Checking Temp space: must be greater than 500 MB. Actual 16829 MB Passed</span>
<span style="color: #888888;">Checking swap space: must be greater than 150 MB. Actual 3023 MB Passed</span>
<span style="color: #888888;">Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed</span>
<span style="color: #888888;">Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-23-10_10-40-31PM. Please wait ...</span>
</pre>
</div>
<br />
Desmarca <b><i>I wish to receive security updates via My Oracle Support</i></b> y haz clic en <b><i>Next</i></b>.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-sri60BIjk2c/VIIFi3wkbTI/AAAAAAAABAk/EiTJdtwqjaA/s1600/RA-Oracle_RAC_12101-Install-Security_updates.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-sri60BIjk2c/VIIFi3wkbTI/AAAAAAAABAk/EiTJdtwqjaA/s1600/RA-Oracle_RAC_12101-Install-Security_updates.png" height="490" width="640" /></a></div>
<br />
Haga clic en <b><i>Yes</i></b> para confirmar que no deseas estar informado acerca de las actualizaciones de seguridad.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-9uU6UkB6CAU/VIIF0HJSxII/AAAAAAAABAs/avj_jDyxDOw/s1600/RA-Oracle_RAC_12101-Install-Address_not_specified.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-9uU6UkB6CAU/VIIF0HJSxII/AAAAAAAABAs/avj_jDyxDOw/s1600/RA-Oracle_RAC_12101-Install-Address_not_specified.png" height="168" width="400" /></a></div>
<br />
Selecciona <b><i>Skip software updates</i></b> y haz clic en <b><i>Next</i></b>.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-TfBoIp1Y5zk/VIIGFZfMxMI/AAAAAAAABA0/-KX58jJE9IA/s1600/RA-Oracle_RAC_12101-Install-Software_updates.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-TfBoIp1Y5zk/VIIGFZfMxMI/AAAAAAAABA0/-KX58jJE9IA/s1600/RA-Oracle_RAC_12101-Install-Software_updates.png" height="490" width="640" /></a></div>
<br />
Selecciona <b><i>Install database software only</i></b> y haz clic en <b><i>Next</i></b>.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-BuIxRJKjNsk/VIIGcZTIdaI/AAAAAAAABA8/JZPq85zHsBA/s1600/RA-Oracle_RAC_12101-Install-Installation_option.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-BuIxRJKjNsk/VIIGcZTIdaI/AAAAAAAABA8/JZPq85zHsBA/s1600/RA-Oracle_RAC_12101-Install-Installation_option.png" height="488" width="640" /></a></div>
<br />
Selecciona <b><i>Oracle Real Application Clusters database installation</i></b> y haz clic en <b><i>Next</i></b>.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-ynmS8m05Glg/VIIG4JbBigI/AAAAAAAABBI/8aTWII9zEV4/s1600/RA-Oracle_RAC_12101-Install-Grid_Installation_option.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-ynmS8m05Glg/VIIG4JbBigI/AAAAAAAABBI/8aTWII9zEV4/s1600/RA-Oracle_RAC_12101-Install-Grid_Installation_option.png" height="490" width="640" /></a></div>
<br />
Verifica que estén seleccionados todos los nodos y haga clic en <b><i>Next</i></b>.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-ojJz2GsVZoU/VIIHNIkT70I/AAAAAAAABBM/v8yZorD1koA/s1600/RA-Oracle_RAC_12101-Install-Node_selection.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-ojJz2GsVZoU/VIIHNIkT70I/AAAAAAAABBM/v8yZorD1koA/s1600/RA-Oracle_RAC_12101-Install-Node_selection.png" height="490" width="640" /></a></div>
<br />
Haz clic en <b><i>Next</i></b> para aceptar la selección de idioma predeterminado.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-L9rs0k0gD9I/VIIHcMBtt2I/AAAAAAAABBU/6VArepC_tGk/s1600/RA-Oracle_RAC_12101-Install-Product_languages.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-L9rs0k0gD9I/VIIHcMBtt2I/AAAAAAAABBU/6VArepC_tGk/s1600/RA-Oracle_RAC_12101-Install-Product_languages.png" height="492" width="640" /></a></div>
<br />
Selecciona <b><i>Enterprise Edition</i></b> y haga clic en <b><i>Next</i></b>.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-uSJcFfHSq8E/VIILFg39N6I/AAAAAAAABBw/LBPyxXZAEIU/s1600/RA-Oracle_RAC_12101-Install-Database_edition.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-uSJcFfHSq8E/VIILFg39N6I/AAAAAAAABBw/LBPyxXZAEIU/s1600/RA-Oracle_RAC_12101-Install-Database_edition.png" height="492" width="640" /></a></div>
<br />
Si creaste previamente el sistema de archivos ACFS 1Gb, tendrás que especificar otra ubicación<br />
<ul>
<li><b>Oracle Base</b>: /u01/app/oracle</li>
<li><b>Software location</b>: /u01/app/oracle/product/12.1.0/dbhome_1</li>
</ul>
Haz clic en <b><i>Next</i></b>.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-Y_5Y0ijjZow/VIIObqrAKGI/AAAAAAAABCA/TQ_x4HvJdD8/s1600/RA-Oracle_RAC_12101-Install-Installation_location%2B(1).png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-Y_5Y0ijjZow/VIIObqrAKGI/AAAAAAAABCA/TQ_x4HvJdD8/s1600/RA-Oracle_RAC_12101-Install-Installation_location%2B(1).png" height="488" width="640" /></a></div>
<br />
Deja <b><i>dba</i></b> para todos los grupos, excepto para el grupo OSOPER (dejalo en blanco) y haz clic en <i><b>Next</b></i>.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-3ZvEiqAQ5ZY/VIIPxLwCozI/AAAAAAAABCM/rJQAPo2ePRM/s1600/RA-Oracle_RAC_12101-Install-Operating_system_groups.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-3ZvEiqAQ5ZY/VIIPxLwCozI/AAAAAAAABCM/rJQAPo2ePRM/s1600/RA-Oracle_RAC_12101-Install-Operating_system_groups.png" height="488" width="640" /></a></div>
<br />
El instalador comprueba todos los pre-requisitos.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-Lutrfg6CcVM/VIIQLHKylLI/AAAAAAAABCU/K44uN1f88kQ/s1600/RA-Oracle_RAC_12101-Install-Prerequisite_checks.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-Lutrfg6CcVM/VIIQLHKylLI/AAAAAAAABCU/K44uN1f88kQ/s1600/RA-Oracle_RAC_12101-Install-Prerequisite_checks.png" height="488" width="640" /></a></div>
<br />
Revisa el resumen de la instalación, opcionalmente guarda un archivo de respuesta y haz clic en <b><i>Install</i></b>.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-t933b-r9pCA/VIIRLCxMYiI/AAAAAAAABCo/O517gJo1VrQ/s1600/RA-Oracle_RAC_12101-Install-Summary.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-t933b-r9pCA/VIIRLCxMYiI/AAAAAAAABCo/O517gJo1VrQ/s1600/RA-Oracle_RAC_12101-Install-Summary.png" height="486" width="640" /></a></div>
<br />
La instalación puede tardar media hora en PCs comunes.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-OZXkBNMIoPk/VIIRGTQ7hXI/AAAAAAAABCk/OU8MLWoTido/s1600/RA-Oracle_RAC_12101-Install-Installation_progress.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-OZXkBNMIoPk/VIIRGTQ7hXI/AAAAAAAABCk/OU8MLWoTido/s1600/RA-Oracle_RAC_12101-Install-Installation_progress.png" height="490" width="640" /></a></div>
<br />
Justo antes de terminar, el instalador te marca que debes de ejecutar un script en ambos nodos como el usuario <b><i>root</i></b>. <b><span style="color: red;">No hagas clic en Aceptar hasta que hayas corrido el script</span></b><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-yP1FZHFbxCU/VIISI-zbmvI/AAAAAAAABC0/jVFGiGxdOKM/s1600/RA-Oracle_RAC_12101-Install-Execute_root_scripts.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-yP1FZHFbxCU/VIISI-zbmvI/AAAAAAAABC0/jVFGiGxdOKM/s1600/RA-Oracle_RAC_12101-Install-Execute_root_scripts.png" height="460" width="640" /></a></div>
<b><br /></b>
Inicia una sesión como el usuario <i>root</i> en el nodo <b><i>collabn1</i></b> y <b><i>collabn2</i></b> abre una terminal de bash como se mostro al final de la 1a parte<br />
Ejecutar el script en ambos nodos como <i>root</i>.<br />
<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[root@collabn1 ~]#</span> /u01/app/oracle/product/12.1.0/dbhome_1/root.sh
<span style="color: #888888;">Performing root user operation for Oracle 12c</span>
<span style="color: #888888;">The following environment variables are set as:</span>
<span style="color: #888888;"> ORACLE_OWNER= oracle</span>
<span style="color: #888888;"> ORACLE_HOME= /u01/app/oracle/product/12.1.0/dbhome_1</span>
<span style="color: #888888;">Enter the full pathname of the local bin directory: [/usr/local/bin]:</span>
<span style="color: #888888;">The contents of "dbhome" have not changed. No need to overwrite.</span>
<span style="color: #888888;">The contents of "oraenv" have not changed. No need to overwrite.</span>
<span style="color: #888888;">The contents of "coraenv" have not changed. No need to overwrite.</span>
<span style="color: #888888;">Entries will be added to the /etc/oratab file as needed by</span>
<span style="color: #888888;">Database Configuration Assistant when a database is created</span>
<span style="color: #888888;">Finished running generic part of root script.</span>
<span style="color: #888888;">Now product-specific root actions will be performed.</span>
<span style="color: #c65d09; font-weight: bold;">[root@collabn1 ~]#</span> ssh collabn2
<span style="color: #888888;">root@collabn2's password:</span>
<span style="color: #c65d09; font-weight: bold;">[root@collabn2 ~]#</span> /u01/app/oracle/product/12.1.0/dbhome_1/root.sh
<span style="color: #888888;">Performing root user operation for Oracle 12c</span>
<span style="color: #888888;">The following environment variables are set as:</span>
<span style="color: #888888;"> ORACLE_OWNER= oracle</span>
<span style="color: #888888;"> ORACLE_HOME= /u01/app/oracle/product/12.1.0/dbhome_1</span>
<span style="color: #888888;">Enter the full pathname of the local bin directory: [/usr/local/bin]:</span>
<span style="color: #888888;">The contents of "dbhome" have not changed. No need to overwrite.</span>
<span style="color: #888888;">The contents of "oraenv" have not changed. No need to overwrite.</span>
<span style="color: #888888;">The contents of "coraenv" have not changed. No need to overwrite.</span>
<span style="color: #888888;">Entries will be added to the /etc/oratab file as needed by</span>
<span style="color: #888888;">Database Configuration Assistant when a database is created</span>
<span style="color: #888888;">Finished running generic part of root script.</span>
<span style="color: #888888;">Now product-specific root actions will be performed.</span>
</pre>
</div>
<br />
Ahora si haz clic en <b><i>Ok</i></b> de la ventana anterior, y a continuación, haz clic en <b><i>Close</i></b> para salir del instalador.<br />
<br />
<b><u>Crear la Base de Datos</u></b><br />
<br />
Inicia una sesión como el usuario <i>oracle</i> en el nodo <b><i>collabn1</i></b> y abre una terminal de bash como se mostro al final de la 1a parte.<br />
<br />
Corre el asistente de configuración de Base de datos (<b><i>dbca</i></b>)<br />
<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[oracle@collabn1 ~]$</span> /u01/app/oracle/product/12.1.0/dbhome_1/bin/dbca
</pre>
</div>
<br />
Selecciona <b><i>Create Database</i></b> y dale clic a <b><i>Next</i></b>.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-KBM_7R1kS_w/VIIT4O7i43I/AAAAAAAABDA/h7772fkjOrc/s1600/RA-Oracle_RAC_12101-DBCA_Database_Operation.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-KBM_7R1kS_w/VIIT4O7i43I/AAAAAAAABDA/h7772fkjOrc/s1600/RA-Oracle_RAC_12101-DBCA_Database_Operation.png" height="490" width="640" /></a></div>
<br />
Selecciona <b><i>Create a database with default configuration</i></b>.<br />
<br />
<ul>
<li>Global Database Name: <i><b>RAC.racattack</b></i></li>
<li>Storage Type: <b><i>Automatic Storage Management (ASM)</i></b></li>
<li>Database Files Location: <b><i>+DATA</i></b></li>
<li>Fast Recovery Area: <b><i>+FRA</i></b></li>
<li>Database Character Set: <b><i>AL32UTF8 - Unicode UTF-8 Universal character set</i></b></li>
<li>Administrative password: <b><i>racattack</i></b></li>
<li>Selecciona<b><i> Create As Container Database</i></b></li>
<li>Pluggable Database Name: <b><i>PDB</i></b> </li>
</ul>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-OG1YlrDFlrg/VIIVAdSbV3I/AAAAAAAABDM/fd7G_XYMJyY/s1600/RA-Oracle_RAC_12101-DBCA_Creation_mode.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-OG1YlrDFlrg/VIIVAdSbV3I/AAAAAAAABDM/fd7G_XYMJyY/s1600/RA-Oracle_RAC_12101-DBCA_Creation_mode.png" height="490" width="640" /></a></div>
<br />
Se muestra un aviso de que la contraseña es débil. Haz clic en <b><i>Yes</i></b> para continuar.<br />
<br />
Las comprobaciones de pre-requisitos pueden fallar debido a las necesidades de espacio. Es seguro ignorar estás.<br />
Haga clic en <b><i>Next</i></b>.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-UrEpHb1wkrA/VIIcYmVoeSI/AAAAAAAABDc/Ea4n3W54TTM/s1600/RA-Oracle_RAC_12101-DBCA_Prerequisite_checks.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-UrEpHb1wkrA/VIIcYmVoeSI/AAAAAAAABDc/Ea4n3W54TTM/s1600/RA-Oracle_RAC_12101-DBCA_Prerequisite_checks.png" height="492" width="640" /></a></div>
<br />
Revisa la página de resumen y haz clic en <b><i>Finish</i></b>.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-QMsJmfruVC0/VIIcpibqDcI/AAAAAAAABDk/gSZ3Th9ejLc/s1600/RA-Oracle_RAC_12101-DBCA_Summary.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-QMsJmfruVC0/VIIcpibqDcI/AAAAAAAABDk/gSZ3Th9ejLc/s1600/RA-Oracle_RAC_12101-DBCA_Summary.png" height="490" width="640" /></a></div>
<br />
La creación de bases de datos ha finalizado. Haz clic en <b><i>Exit</i></b> y luego <b><i>Close</i></b>.<br />
<br />
<b><u>Conclusión</u></b><br />
En la 1a entrada, terminas la instalación de Virtualbox y del Sistema Operativo, en la siguiente entrada vamos a configurar el Sistema Operativo y configurar los DNS para poder instalar RAC en dos nodos.<br />
En la 2a entrada, terminas la configuración del DNS , así como la clonación de la segunda maquina virtual collabn1.<br />
En la 3a parte instalamos los binarios de Grid Infrastructure y en la 4a parte instalamos los binarios del RDBMS.<br />
<br />
Espero que te sirva para empezar a probar RAC en tu ambiente de pruebas !!!Anonymoushttp://www.blogger.com/profile/16707526771327328274noreply@blogger.com0tag:blogger.com,1999:blog-4609531821681208136.post-73421269404299007492014-12-05T11:41:00.002-07:002014-12-05T12:04:54.136-07:00Oracle 12cR1 : RAC Attack a la Mexicana - Instalación de Oracle Grid Infrastructure<a href="https://en.wikibooks.org/wiki/RAC_Attack_-_Oracle_Cluster_Database_at_Home/RAC_Attack_12c" target="_blank">RAC Attack</a> es un libro que ha sido escrito por varias personas en el ámbito de Oracle y que tu eres libre de editar y contribuir, pero una de las quejas que existía es que no había una versión en español, y es por eso que estoy escribiendo esta serie de posts, en donde también los voy a hacer disponibles en el libro de RAC Attack.<br />
<br />
<a href="http://rene-ace.com/2014/11/rac-attack-os-dns/" target="_blank">En la 1a parte</a>, vimos las necesidades de HW y SW, así como la instalación del OS RHEL 6.5<br />
<br />
<a href="http://rene-ace.com/2014/11/racattack_vm_os/" target="_blank">En la 2a parte</a> vimos la configuración del OS en el primer nodo y segundo nodo, así como la configuración del DNS.<br />
<br />
En esta 3a parte vamos a ver la instalación de los binarios del GI y su configuración<br />
<br />
<i><span style="color: red;">Nota</span>.- Cuando veas lo siguiente en la salida de una terminal "...", es para acortar las lineas de salida</i><br />
<div>
<br /></div>
<div>
<b><u>Instalación de el Grid Infrastructure (ASM)</u></b></div>
<div>
<br /></div>
<div>
Ejecuta la instalación de el Grid Infrastructure como el usuario <i>oracle</i>:</div>
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[oracle@collabn1 sf_rac_media]$</span> /media/sf_rac_media/grid/runInstaller
<span style="color: #888888;">Starting Oracle Universal Installer...</span>
<span style="color: #888888;">Checking Temp space: must be greater than 120 MB. Actual 22670 MB Passed</span>
<span style="color: #888888;">Checking swap space: must be greater than 150 MB. Actual 3023 MB Passed</span>
<span style="color: #888888;">Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed</span>
<span style="color: #888888;">Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-10-23_08-12-00PM. Please wait ...[oracle@collabn1 sf_rac_media]$ </span>
<span style="color: #c65d09; font-weight: bold;">[oracle@collabn1 sf_rac_media]$</span>
</pre>
</div>
<br />
Deja en blanco <i><b>Skip software updates</b></i> y haz clic en <b><i>Next</i></b>:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-hcvrJjogU-E/VIHaB__9kYI/AAAAAAAAA78/i_n_yzasWco/s1600/RA-Oracle_GI_12101-Install-Software_Updates.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-hcvrJjogU-E/VIHaB__9kYI/AAAAAAAAA78/i_n_yzasWco/s1600/RA-Oracle_GI_12101-Install-Software_Updates.png" height="490" width="640" /></a></div>
<br />
Selecciona <b><i>Install and Configure Oracle Grid Infrastructure for a Cluster</i></b> y haz clic en <b><i>Next</i></b>:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-B4x6_cPy5Po/VIHattgiyfI/AAAAAAAAA8E/5zejJrkyJzc/s1600/RA-Oracle_GI_12101-Install-Installation_option.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-B4x6_cPy5Po/VIHattgiyfI/AAAAAAAAA8E/5zejJrkyJzc/s1600/RA-Oracle_GI_12101-Install-Installation_option.png" height="490" width="640" /></a></div>
<br />
Selecciona <i><b>Configure a Standard Cluster</b></i> y haz clic en <b><i>Next</i></b>:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-0MVrPuo3J_I/VIHbAx1mm-I/AAAAAAAAA8M/h4aJKVQjy9o/s1600/RA-Oracle_GI_12101-Install-Cluster_Type.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-0MVrPuo3J_I/VIHbAx1mm-I/AAAAAAAAA8M/h4aJKVQjy9o/s1600/RA-Oracle_GI_12101-Install-Cluster_Type.png" height="488" width="640" /></a></div>
<br />
Selecciona <b><i>Typical Installation</i></b> y haz clic en <b><i>Next</i></b>:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-UFAhbH0tYEU/VIHbg2jd8iI/AAAAAAAAA8U/pQMbjiVvWho/s1600/RA-Oracle_GI_12101-Install-Installation_type.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-UFAhbH0tYEU/VIHbg2jd8iI/AAAAAAAAA8U/pQMbjiVvWho/s1600/RA-Oracle_GI_12101-Install-Installation_type.png" height="488" width="640" /></a></div>
<br />
En el recuadro de <b><i>SCAN Name</i></b>, introduce <b><i>collabn-cluster-scan.racattack</i></b><br />
<ul>
<li>En el recuadro central, sólo se muestra el primer nodo.</li>
<li>Haz clic en <b><i>Add</i></b> ... e introduce el nombre de red del segundo nodo:</li>
<ul>
<li>Public Hostname: <b><i>collabn2.racattack</i></b></li>
<li>Virtual Hostname: <b><i>collabn2-vip.racattack</i></b></li>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-b_rLh0tia5E/VIHifLRr1aI/AAAAAAAAA8k/gc6MyvyHnrU/s1600/RA-Oracle_GI_12101-Install-Cluster_configuration.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-b_rLh0tia5E/VIHifLRr1aI/AAAAAAAAA8k/gc6MyvyHnrU/s1600/RA-Oracle_GI_12101-Install-Cluster_configuration.png" height="492" width="640" /></a></div>
<div>
<br /></div>
<div>
Dale clic a <b style="font-style: italic;">SSH connectivity... </b>e teclea <b><i>racattack</i></b> como la contraseña del usuario <i>oracle</i> y haz clic en <b><i>Setup</i></b>.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-Vdd-DVOR9Cw/VIHjX2FZw_I/AAAAAAAAA8s/_iK45jrwvA8/s1600/RA-Oracle_GI_12101-Install-SSH_connectivity.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-Vdd-DVOR9Cw/VIHjX2FZw_I/AAAAAAAAA8s/_iK45jrwvA8/s1600/RA-Oracle_GI_12101-Install-SSH_connectivity.png" height="488" width="640" /></a></div>
<div>
<br /></div>
<div>
Lo que va a suceder es que se inicia la conectividad SSH sin contraseñas de a través de los nodos</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-REcFZAHubNc/VIHj2FctACI/AAAAAAAAA80/45FsldcTamw/s1600/RA-Oracle_GI_12101-Install-SSH_connectivity_OK.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-REcFZAHubNc/VIHj2FctACI/AAAAAAAAA80/45FsldcTamw/s1600/RA-Oracle_GI_12101-Install-SSH_connectivity_OK.png" height="490" width="640" /></a></div>
<div>
<br /></div>
<div>
Dale clic en OK cuando termine </div>
<div>
<br /></div>
<div>
Ahora dale clic en <b><i>Identify Network Interfaces...</i></b></div>
<div>
<ul>
<li>Comprueba que las direcciones correctas fueron establecidas:</li>
<ul>
<li>eth0 esta marcada como Public</li>
<li>eth1 esta marcada como Private</li>
<li>eth2 esta marcada como Do Not Use</li>
</ul>
<li>Haz clic en Ok para cerrar la ventana de Identify Network Interfaces.</li>
</ul>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-whi8HYAtNkw/VIHmRF-N91I/AAAAAAAAA9A/l_l1G31g9QI/s1600/RA-Oracle_GI_12101-Install-Identify_Network_Interfaces.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-whi8HYAtNkw/VIHmRF-N91I/AAAAAAAAA9A/l_l1G31g9QI/s1600/RA-Oracle_GI_12101-Install-Identify_Network_Interfaces.png" height="480" width="640" /></a></div>
<div>
<br /></div>
<div>
Finalmente dale clic a <b><i>Next</i></b> </div>
<br />
<div>
<br /></div>
<div>
Algunas validaciónes de pre-requisito se realizan en este paso. Se puede tardar algunos minutos en completarse este paso.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-kI-FS0fdTmI/VIHmrB0H98I/AAAAAAAAA9I/WusYj07NZs8/s1600/RA-Oracle_GI_12101-Install-Installer_validation.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-kI-FS0fdTmI/VIHmrB0H98I/AAAAAAAAA9I/WusYj07NZs8/s1600/RA-Oracle_GI_12101-Install-Installer_validation.png" height="492" width="640" /></a></div>
<div>
<br /></div>
<div>
Dado que el nombre elegido para el SCAN es demasiado largo (más de 15 caracteres.) Oracle propone un nombre diferente como el nombre de clúster. Haga clic en <b><i>Yes</i></b>.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-Z5hgfa6d8kw/VIHnCmqCczI/AAAAAAAAA9Q/1JfbTDAN3l8/s1600/RA-Oracle_GI_12101-Install-Confirm_Cluster_Name.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-Z5hgfa6d8kw/VIHnCmqCczI/AAAAAAAAA9Q/1JfbTDAN3l8/s1600/RA-Oracle_GI_12101-Install-Confirm_Cluster_Name.png" height="490" width="640" /></a></div>
<div>
<br /></div>
<div>
Deja el valor predeterminado de Oracle Base y Software Location.</div>
<div>
<ul>
<li>En el recuadro desplegable <b><i>Cluster Registry Storage Type</i></b>, selecciona <b><i>Oracle Automatic Storage Management</i></b></li>
<li>Introduce <b><i>racattack</i></b> como la contraseña de <b><i>SYSASM</i></b>.</li>
<li>Seleccione <b><i>dba</i></b> como grupo el grupo de <b><i>OSASM</i></b>.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-sCJghL64-lE/VIHodC59FRI/AAAAAAAAA9c/YTFQSx6tZkI/s1600/RA-Oracle_GI_12101-Install-Install_Locations.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-sCJghL64-lE/VIHodC59FRI/AAAAAAAAA9c/YTFQSx6tZkI/s1600/RA-Oracle_GI_12101-Install-Install_Locations.png" height="490" width="640" /></a></div>
<div>
<br /></div>
<div>
<b><i>racattack</i></b> es una contraseña débil y Oracle te alerta sobre esto. Haga clic en <b><i>Ok</i></b> para continuar:</div>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-5atAYRpmjUc/VIHo9_a1YGI/AAAAAAAAA9k/co1FhliD9YM/s1600/RA-Oracle_GI_12101-Install-Sysasm_weak_password.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-5atAYRpmjUc/VIHo9_a1YGI/AAAAAAAAA9k/co1FhliD9YM/s1600/RA-Oracle_GI_12101-Install-Sysasm_weak_password.png" height="232" width="640" /></a></div>
<div>
<br /></div>
<div>
<div>
Deja <b><i>DATA</i></b> como el <b><i>Disk Group Name</i></b>.</div>
<div>
<ul>
<li>Selecciona redundancia externa (<b><i>External redundancy</i></b>) [<span style="color: red;"><b>Nota .- Esto es seguro hacerlo nada mas en un ambiente de pruebas, para producción se requiere analizar si esta es el mejor tipo de redundancia</b></span> ].</li>
<li>La lista de discos candidatos (<b><i>Candidate Disks</i></b>) está vacía. Haz clic en <b><i>Change Discovery Path</i></b>...</li>
<li>Cambia la ruta a <b><i>/dev/asm*</i></b> en el campo de texto <b><i>Disk Discovery Path</i></b>.</li>
<li>Haz clic en Ok.</li>
</ul>
</div>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-Zz1JLwnoQ4M/VIHrXzJ9lqI/AAAAAAAAA9w/C2Sj7ennuck/s1600/RA-Oracle_GI_12101-Install-Create_ASM_Diskgroup.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-Zz1JLwnoQ4M/VIHrXzJ9lqI/AAAAAAAAA9w/C2Sj7ennuck/s1600/RA-Oracle_GI_12101-Install-Create_ASM_Diskgroup.png" height="488" width="640" /></a></div>
<div>
<br /></div>
<div>
<div>
Selecciona los primeros dos discos que serán inmediatamente añadidos al nuevo grupo de discos y haz clic en <b><i>Next</i></b></div>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-uR_6c0OMmD4/VIHr6QM3CEI/AAAAAAAAA94/dk2nQvM7nro/s1600/RA-Oracle_GI_12101-Install-Create_ASM_Diskgroup_disks.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-uR_6c0OMmD4/VIHr6QM3CEI/AAAAAAAAA94/dk2nQvM7nro/s1600/RA-Oracle_GI_12101-Install-Create_ASM_Diskgroup_disks.png" height="490" width="640" /></a></div>
<div>
<br /></div>
<div>
Deje el Directorio de inventario predeterminado <b><i>(Inventory Directory)</i></b>. Haz clic en <b><i>Next</i></b>.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-dt4aCtckTD4/VIHsa5qmlUI/AAAAAAAAA-A/92Zqx0_w0vo/s1600/RA-Oracle_GI_12101-Install-Create_Inventory.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-dt4aCtckTD4/VIHsa5qmlUI/AAAAAAAAA-A/92Zqx0_w0vo/s1600/RA-Oracle_GI_12101-Install-Create_Inventory.png" height="488" width="640" /></a></div>
<div>
<br /></div>
<div>
<div>
Selecciona <b><i>Automatically run configuration script</i></b> y luego utiliza las credenciales del usuario "<b><i>root</i></b>".</div>
<div>
Introduce <b><i>racattack</i></b> como la contraseña de <b><i>root</i></b> y haga clic en <b><i>Next</i></b>.</div>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-E0wr1NGsvRo/VIHtSKJ3ZGI/AAAAAAAAA-I/R1uR6Ycad2Y/s1600/RA-Oracle_GI_12101-Install-Root_script_execution_credentials%2B(1).png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-E0wr1NGsvRo/VIHtSKJ3ZGI/AAAAAAAAA-I/R1uR6Ycad2Y/s1600/RA-Oracle_GI_12101-Install-Root_script_execution_credentials%2B(1).png" height="488" width="640" /></a></div>
<div>
<br /></div>
<div>
Algunas validaciónes de pre-requisito se realizan en este paso. Se puede tardar algunos minutos en completarse este paso.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-g1oi2G1qZGs/VIHtgmJkRNI/AAAAAAAAA-Q/oHmCDkMM3J0/s1600/RA-Oracle_GI_12101-Install-Prerequisite_Check_progress.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-g1oi2G1qZGs/VIHtgmJkRNI/AAAAAAAAA-Q/oHmCDkMM3J0/s1600/RA-Oracle_GI_12101-Install-Prerequisite_Check_progress.png" height="490" width="640" /></a></div>
<div>
<br /></div>
<div>
Si todo es correcto, te darás cuenta de dos pasos han fallado :</div>
<div>
<div>
<ul>
<li>Physical Memory</li>
<li>Device Checks for ASM</li>
</ul>
</div>
</div>
<div>
Marca "<b><i>Ignore All</i></b>" y haga clic en <b><i>Next</i></b>.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-iYk5NAhmK3k/VIHuSlc_LsI/AAAAAAAAA-Y/7fHn5F0QftI/s1600/RA-Oracle_GI_12101-Install-Prerequisite_checks.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-iYk5NAhmK3k/VIHuSlc_LsI/AAAAAAAAA-Y/7fHn5F0QftI/s1600/RA-Oracle_GI_12101-Install-Prerequisite_checks.png" height="488" width="640" /></a></div>
<div>
<br /></div>
<div>
Haz clic en <b><i>Yes</i></b> para confirmar que desea omitir algunos requisitos previos.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-mVSPDnPgL0w/VIHumvyROFI/AAAAAAAAA-g/vvtS46flcmo/s1600/RA-Oracle_GI_12101-Install-Prerequisite_checks_continue.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-mVSPDnPgL0w/VIHumvyROFI/AAAAAAAAA-g/vvtS46flcmo/s1600/RA-Oracle_GI_12101-Install-Prerequisite_checks_continue.png" height="232" width="640" /></a></div>
<div>
<br /></div>
<div>
Te va a aparecer la página de resumen. Opcionalmente, haz clic en Guardar archivo de respuesta (<b><i>Save Response File</i></b>) y elige una ubicación para que el archivo de respuestas sea guardado.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-4zneJUXZez4/VIHyyAdewRI/AAAAAAAAA-s/nj9Qsp-rnhU/s1600/RA-Oracle_GI_12101-Install-Save_response_file.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-4zneJUXZez4/VIHyyAdewRI/AAAAAAAAA-s/nj9Qsp-rnhU/s1600/RA-Oracle_GI_12101-Install-Save_response_file.png" height="490" width="640" /></a></div>
<div>
<br /></div>
<div>
Revisa el resumen y haga clic en <b><i>Install</i></b> para iniciar la instalación.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-WvlK3LF9Ns0/VIHzEGB3u7I/AAAAAAAAA-0/zj-2wResFDo/s1600/RA-Oracle_GI_12101-Install-Summary.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-WvlK3LF9Ns0/VIHzEGB3u7I/AAAAAAAAA-0/zj-2wResFDo/s1600/RA-Oracle_GI_12101-Install-Summary.png" height="490" width="640" /></a></div>
<div>
<br /></div>
<div>
Ahora comienza la instalación. Se puede tomar más de una hora, dependiendo del hardware de tu PC.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-ysxyjjGUd-s/VIHzYb2Y-fI/AAAAAAAAA-8/a_nXnA5AGIw/s1600/RA-Oracle_GI_12101-Install-Install_product_progress.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-ysxyjjGUd-s/VIHzYb2Y-fI/AAAAAAAAA-8/a_nXnA5AGIw/s1600/RA-Oracle_GI_12101-Install-Install_product_progress.png" height="490" width="640" /></a></div>
<div>
<br /></div>
<div>
Después de un tiempo, la instalación te pide una confirmación antes de ejecutar algunos scripts como <b><i>root</i></b>. Haga clic en <b><i>Ok</i></b> para continuar.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-89Q2S7HbC4o/VIHzuEccyqI/AAAAAAAAA_E/IGQei5K4t_4/s1600/RA-Oracle_GI_12101-Install-Confirm_root_execution.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-89Q2S7HbC4o/VIHzuEccyqI/AAAAAAAAA_E/IGQei5K4t_4/s1600/RA-Oracle_GI_12101-Install-Confirm_root_execution.png" height="492" width="640" /></a></div>
<div>
<br /></div>
<div>
La instalación continúa, esto puede tardar mucho tiempo en completarse. Una vez que esté terminado, haz clic en <b><i>Close</i></b> para salir.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-EJlWgukPy4c/VIH0Va9XyXI/AAAAAAAAA_M/eod294AD22E/s1600/RA-Oracle_GI_12101-Install-Completed.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-EJlWgukPy4c/VIH0Va9XyXI/AAAAAAAAA_M/eod294AD22E/s1600/RA-Oracle_GI_12101-Install-Completed.png" height="490" width="640" /></a></div>
<div>
<br /></div>
<div>
<b><u>Configuración de ASM</u></b></div>
<div>
Inicia una sesión como el usuario <b><i>oracle</i></b> en el nodo <b><i>collabn1</i></b> y abre una terminal de bash como se mostro al final de la 1a parte</div>
<div>
<br /></div>
<div>
Ejecuta el Asistente de configuración de ASM:<br />
<br /></div>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #888888;">[oracle@collabn1 ~] . oraenv</span>
<span style="color: #888888;">ORACLE_SID = [oracle] ? +ASM1</span>
<span style="color: #888888;">The Oracle base has been set to /u01/app/oracle</span>
<span style="color: #c65d09; font-weight: bold;">[oracle@collabn1 ~]$</span> <b><span style="color: #274e13;">asmca</span></b>
</pre>
</div>
<br />
El <b><i>asmca</i></b> abre en la pestaña de Grupos de discos (Disk Groups) , que muestra el diskgroup <b><i>DATA</i></b> creado por el instalador. Haz clic en <b><i>Create</i></b>.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-BeZ_-QUXzEM/VIH2CYs-1aI/AAAAAAAAA_Y/o8QBvvI3Hcw/s1600/RA-Oracle_GI_12101-asmca-diskgroups.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-BeZ_-QUXzEM/VIH2CYs-1aI/AAAAAAAAA_Y/o8QBvvI3Hcw/s1600/RA-Oracle_GI_12101-asmca-diskgroups.png" height="384" width="640" /></a></div>
<br />
Introduce <b><i>FRA</i></b> como el nombre del grupo de discos.<br />
<br />
<ul>
<li>Elige la redundancia redundancia <b><i>External (none)</i></b>.</li>
<li>Selecciona uno de los discos para crear un diskgroup de 5Gb.</li>
<li>Haz clic en <b><i>Ok</i></b>.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-sY9-DkrRJJU/VIH28aBumxI/AAAAAAAAA_g/X4r6hA95jw8/s1600/RA-Oracle_GI_12101-asmca-add_diskgroups.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-sY9-DkrRJJU/VIH28aBumxI/AAAAAAAAA_g/X4r6hA95jw8/s1600/RA-Oracle_GI_12101-asmca-add_diskgroups.png" height="442" width="640" /></a></div>
<br />
Se está creando el diskgroup y cuando finaliza te muestra la pantalla de que fue creado<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-Y5o9BU0aBFQ/VIH3dkK53QI/AAAAAAAAA_o/1W4t6nVxSKE/s1600/RA-Oracle_GI_12101-asmca-Diskgroup_created.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-Y5o9BU0aBFQ/VIH3dkK53QI/AAAAAAAAA_o/1W4t6nVxSKE/s1600/RA-Oracle_GI_12101-asmca-Diskgroup_created.png" height="326" width="400" /></a></div>
<br />
Haz clic en la pestaña <b><i>Volumes</i></b>,y a después en <b><i>Create</i></b>.<br />
<br />
<ul>
<li>Teclea <b><i>SHARED</i></b> como el nombre del volumen.</li>
<li>Elige el diskgroup <b><i>DATA</i></b>.</li>
<li>El tamaño será irrelevante en nuestro laboratorio, por lo que teclea 1.</li>
<li>Haga clic en Ok.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-SjTIzv1Ju8A/VIH4cF6frWI/AAAAAAAAA_0/Evde7rg5dAY/s1600/RA-Oracle_GI_12101-asmca-Creating_volume.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-SjTIzv1Ju8A/VIH4cF6frWI/AAAAAAAAA_0/Evde7rg5dAY/s1600/RA-Oracle_GI_12101-asmca-Creating_volume.png" height="386" width="640" /></a></div>
<br />
Se crea el volumen<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-tNq4OP2let0/VIH46Eh0_UI/AAAAAAAAA_8/ULDd27Uc5BM/s1600/RA-Oracle_GI_12101-asmca-Volume_created%2B(1).png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-tNq4OP2let0/VIH46Eh0_UI/AAAAAAAAA_8/ULDd27Uc5BM/s1600/RA-Oracle_GI_12101-asmca-Volume_created%2B(1).png" /></a></div>
<br />
Selecciona la pestaña <b><i>ASM Cluster File Systems</i></b> y dale clic a <b><i>Create</i></b><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-u4FTK9mgSfQ/VIH5NFo5CzI/AAAAAAAABAE/eCrKStvPgTw/s1600/RA-Oracle_GI_12101-asmca-Filesystems.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-u4FTK9mgSfQ/VIH5NFo5CzI/AAAAAAAABAE/eCrKStvPgTw/s1600/RA-Oracle_GI_12101-asmca-Filesystems.png" height="388" width="640" /></a></div>
<br />
Selecciona <b><i>Cluster File System</i></b>.<br />
<ul>
<li>Mountpoint: <b><i>/shared</i></b></li>
<li>Selecciona <b><i>Automount</i></b>.</li>
<li>User Name: <b><i>oracle</i></b></li>
<li>Group Name: <b><i>dba</i></b></li>
<li>Volume: <b><i>SHARED</i></b></li>
<li>Dale clic a <b><i>OK</i></b>.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-kGgYtW8NL2o/VIH5uusfYMI/AAAAAAAABAM/Co9harOkmI4/s1600/RA-Oracle_GI_12101-asmca-Creating_Filesystem.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-kGgYtW8NL2o/VIH5uusfYMI/AAAAAAAABAM/Co9harOkmI4/s1600/RA-Oracle_GI_12101-asmca-Creating_Filesystem.png" height="544" width="640" /></a></div>
<br />
Para completar la creación del sistema de archivos, ejecuta este script como <b><i>root</i></b>.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-QT5RahxTkMg/VIH5_mTHT0I/AAAAAAAABAU/WLh30I9z9Fw/s1600/RA-Oracle_GI_12101-asmca-Creating_Filesystem_acfs_script.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-QT5RahxTkMg/VIH5_mTHT0I/AAAAAAAABAU/WLh30I9z9Fw/s1600/RA-Oracle_GI_12101-asmca-Creating_Filesystem_acfs_script.png" height="546" width="640" /></a></div>
<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[root@collabn1 ~]#</span> /u01/app/oracle/cfgtoollogs/asmca/scripts/acfs_script.sh
<span style="color: #888888;">ACFS file system /shared is mounted on nodes collabn1</span>
<span style="color: #888888;">ACFS file system /shared is mounted on nodes collabn2</span>
</pre>
</div>
<br />
Por último, el sistema de archivos está montado en ambos nodos.<br />
<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[oracle@collabn1 ~]$</span> df -h
<span style="color: #888888;">Filesystem Size Used Avail Use% Mounted on</span>
<span style="color: #888888;">/dev/mapper/vg_collabn1-lv_root 31G 19G 11G 64% /</span>
<span style="color: #888888;">tmpfs 1.5G 632M 875M 42% /dev/shm</span>
<span style="color: #888888;">/dev/sda1 477M 55M 397M 13% /boot</span>
<span style="color: #888888;">rac_media 931G 606G 326G 66% /media/sf_rac_media</span>
<span style="color: #888888;">/dev/sr0 56M 56M 0 100% /media/VBOXADDITIONS_4.3.20_96996</span>
<span style="color: #888888;">/dev/asm/shared-449 1.0G 79M 946M 8% </span><b><span style="color: red;">/shared</span></b>
<span style="color: #c65d09; font-weight: bold;">[oracle@collabn2 ~]$</span> df -h
<span style="color: #888888;">Filesystem Size Used Avail Use% Mounted on</span>
<span style="color: #888888;">/dev/mapper/vg_collabn1-lv_root 31G 19G 11G 64% /</span>
<span style="color: #888888;">tmpfs 1.5G 632M 875M 42% /dev/shm</span>
<span style="color: #888888;">/dev/sda1 477M 55M 397M 13% /boot</span>
<span style="color: #888888;">rac_media 931G 606G 326G 66% /media/sf_rac_media</span>
<span style="color: #888888;">/dev/sr0 56M 56M 0 100% /media/VBOXADDITIONS_4.3.20_96996</span>
<span style="color: #888888;">/dev/asm/shared-449 1.0G 79M 946M 8% </span><b><span style="color: red;">/shared</span></b>
</pre>
</div>
<br />
<b><u>Conclusión</u></b><br />
En la 1a entrada, terminas la instalación de Virtualbox y del Sistema Operativo, en la siguiente entrada vamos a configurar el Sistema Operativo y configurar los DNS para poder instalar RAC en dos nodos.<br />
<br />
En la 2a entrada, terminas la configuración del DNS , así como la clonación de la segunda maquina virtual collabn1.<br />
<br />
En esta 3a parte instalamos los binarios de Grid Infrastructure y en la 4a parte vamos a instalar los binarios del RDBMS.<br />
<br />Anonymoushttp://www.blogger.com/profile/16707526771327328274noreply@blogger.com0tag:blogger.com,1999:blog-4609531821681208136.post-72334337331475439622014-11-28T12:04:00.000-07:002014-11-28T12:04:39.643-07:001er "Geek and Drink" de ORAMEX<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-uADk58cCds4/VHjGjzJBBFI/AAAAAAAAA7k/9AfZft7T2UM/s1600/10422223_909019942442460_3188618789773709300_n.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-uADk58cCds4/VHjGjzJBBFI/AAAAAAAAA7k/9AfZft7T2UM/s1600/10422223_909019942442460_3188618789773709300_n.jpg" height="150" width="200" /></a></div>
<div style="color: #333333; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">
El día de ayer , nuestro grupo de usuarios ORAMEX tuvo el primer "Geek and Drink" , en donde lo tratamos de tener en un ambiente mas relajado y abierto que nuestros previos eventos.</div>
<div style="color: #333333; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">
<br /></div>
<div style="color: #333333; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">
En esta ocasión fue en el <a data-mce-href="https://www.facebook.com/CARREZMX" href="https://www.facebook.com/CARREZMX">restaurante Carrez</a> en la Roma, y fue todo un éxito ya que logro lo que andábamos buscando , que era generar que la gente participara de una manera mas activa en el evento.</div>
<div style="color: #333333; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">
<br /></div>
<div style="color: #333333; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">
También tuvimos la grata presencia de Jorge Galvez y Oswaldo Rojas platicando acerca de DBaaS en la nube privada así como en la nube publica.</div>
<div style="color: #333333; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">
<br /></div>
<div style="color: #333333; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">
De igual manera la gente tuvo oportunidad de charlar con sus colegas e intercambiar ideas de los proyectos en los que trabajaron o están trabajando. Así que no te pierdas de el segundo "Geek and Drink" que sera en Enero!</div>
<div style="color: #333333; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">
<br /></div>
<div style="color: #333333; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">
Por ultimo te dejo la presentación que di el día de ayer.</div>
<div style="color: #333333; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">
<br /></div>
<div style="color: #333333; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">
<iframe src="//www.slideshare.net/slideshow/embed_code/42106532" width="425" height="355" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe> <div style="margin-bottom:5px"> <strong> <a href="//www.slideshare.net/GustavoReneAntunez/2014-oramex-antunezppt" title="Cosas que “probablemente” no sabes pero deberías de saber en Oracle 12c" target="_blank">Cosas que “probablemente” no sabes pero deberías de saber en Oracle 12c</a> </strong> from <strong><a href="//www.slideshare.net/GustavoReneAntunez" target="_blank">Gustavo Rene Antunez</a></strong> </div>
<br /></div>Anonymoushttp://www.blogger.com/profile/16707526771327328274noreply@blogger.com0tag:blogger.com,1999:blog-4609531821681208136.post-7261482124317620822014-11-05T21:58:00.000-07:002014-11-07T09:58:12.387-07:00Oracle 12cR1 : RAC Attack a la Mexicana - Configuración de OS y DNS<a href="https://en.wikibooks.org/wiki/RAC_Attack_-_Oracle_Cluster_Database_at_Home/RAC_Attack_12c" target="_blank">RAC Attack es un libro</a> que ha sido escrito por varias personas en el ámbito de Oracle y que tu eres libre de editar y contribuir, pero una de las quejas que existía es que no había una versión en español, y es por eso que estoy escribiendo esta serie de posts, en donde también los voy a hacer disponibles en el libro de RAC Attack.<br />
<br />
<a href="http://rene-ace.com/2014/11/racattack_vm_os/" target="_blank">En la 1a parte</a>, vimos las necesidades de HW y SW, así como la instalación del OS RHEL 6.5<br />
<br />
En esta 2a parte vamos a ver la configuración del OS en el primer nodo y así como la configuración del DNS.<br />
<br />
<i><span style="color: red;">Nota</span>.- Cuando veas lo siguiente en la salida de una terminal "...", es para acortar las lineas de salida</i><br />
<br />
<b><u>Pasos Post-Instalación del OS RHEL 6.5</u></b><br />
<br />
Inicia una sesión como el usuario root en el nodo <b><i>collabn1</i></b> y abre una terminal de bash como se mostro al final de la 1a parte<br />
<ul>
<li>Apaga y desactiva el firewall IPTables</li>
</ul>
<div>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[root@collabn1 ~]#</span> service iptables stop
<span style="color: #888888;">iptables: Flushing firewall rules: [ OK ]</span>
<span style="color: #888888;">iptables: Setting chains to policy ACCEPT: filter [ OK ]</span>
<span style="color: #888888;">iptables: Unloading modules: [ OK ]</span>
<span style="color: #c65d09; font-weight: bold;">[root@collabn1 ~]#</span> chkconfig iptables off
<span style="color: #c65d09; font-weight: bold;">[root@collabn1 ~]#</span> chkconfig --list iptables
<span style="color: #888888;">iptables 0:off 1:off 2:off 3:off 4:off 5:off 6:off</span>
</pre>
</div>
</div>
<ul>
<li>Deshabilita SELinux</li>
<ul>
<li>Abre el archivo de configuración y cambia la variable de SELINUX de enforcing a disabled</li>
</ul>
</ul>
<div>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[root@collabn1 ~]#</span> vim /etc/selinux/config
<span style="color: #888888;"> # This file controls the state of SELinux on the system.</span>
<span style="color: #888888;"> # SELINUX= can take one of these three values:</span>
<span style="color: #888888;"> # enforcing - SELinux security policy is enforced.</span>
<span style="color: #888888;"> # permissive - SELinux prints warnings instead of enforcing.</span>
<span style="color: #888888;"> # disabled - No SELinux policy is loaded.</span>
<span style="color: #888888;"> SELINUX=disabled</span>
<span style="color: #888888;"> # SELINUXTYPE= can take one of these two values:</span>
<span style="color: #888888;"> # targeted - Targeted processes are protected,</span>
<span style="color: #888888;"> # mls - Multi Level Security protection.</span>
<span style="color: #888888;"> SELINUXTYPE=targeted</span>
</pre>
</div>
</div>
<ul>
<li>Verifica que todas las interfaces de red esten arriba y habilitadas</li>
</ul>
<div>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[root@collabn1 ~]#</span> ip l
<span style="color: #888888;">1: lo: <loopback> mtu 65536 qdisc noqueue state UNKNOWN </loopback></span>
<span style="color: #888888;"> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00</span>
<span style="color: #888888;">2: eth0: </span><span style="color: #888888; line-height: 125%;"><</span><span style="color: #888888; line-height: 125%;">BROADCAST,MULTICAST,UP,LOWER_UP</span><span style="color: #888888; line-height: 125%;">></span><span style="color: #888888; line-height: 125%;"> mtu 1500 qdisc pfifo_fast state UP qlen 1000</span>
<span style="color: #888888;"> link/ether 08:00:27:a3:ec:f0 brd ff:ff:ff:ff:ff:ff</span>
<span style="color: #888888;">3: eth1: </span><span style="color: #888888; line-height: 125%;"><</span><span style="color: #888888; line-height: 125%;">BROADCAST,MULTICAST,UP,LOWER_UP</span><span style="color: #888888; line-height: 125%;">></span><span style="color: #888888; line-height: 125%;"> mtu 1500 qdisc pfifo_fast state UP qlen 1000</span>
<span style="color: #888888;"> link/ether 08:00:27:65:bf:58 brd ff:ff:ff:ff:ff:ff</span>
<span style="color: #888888;">4: eth2: </span><span style="color: #888888; line-height: 125%;"><</span><span style="color: #888888; line-height: 125%;">BROADCAST,MULTICAST,UP,LOWER_UP</span><span style="color: #888888; line-height: 125%;">></span><span style="color: #888888; line-height: 125%;"> mtu 1500 qdisc pfifo_fast state UP qlen 1000</span>
<span style="color: #888888;"> link/ether 08:00:27:24:9c:d6 brd ff:ff:ff:ff:ff:ff</span>
<span style="color: #888888;">5: eth3: </span><span style="color: #888888; line-height: 125%;"><</span><span style="color: #888888; line-height: 125%;">BROADCAST,MULTICAST,UP,LOWER_UP</span><span style="color: #888888; line-height: 125%;">></span><span style="color: #888888; line-height: 125%;"> mtu 1500 qdisc pfifo_fast state UP qlen 1000</span>
<span style="color: #888888;"> link/ether 08:00:27:6b:dc:69 brd ff:ff:ff:ff:ff:ff</span>
</pre>
</div>
</div>
<ul>
<li>Instala el paquete de pre-instalación de base de datos <span style="line-height: 16.25px;"><b><i>oracle-rdbms-server-12cR1-preinstall</i></b></span></li>
<ul>
<li>Este paquete instala todos los paquetes necesarios para Oracle 12c, configura los parámetros del kernel, crea el usuario y los grupos <b><i>oracle</i></b> y establece los límites de usuario.</li>
</ul>
</ul>
<div>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[root@collabn1 ~]#</span> yum install oracle-rdbms-server-12cR1-preinstall -y
<span style="color: #888888;">...</span>
<span style="color: #888888;">Transaction Summary</span>
<span style="color: #888888;">====================================================================================================================================================================================</span>
<span style="color: #888888;">Install 3 Package(s)</span>
<span style="color: #888888;">Total download size: 786 k</span>
<span style="color: #888888;">Installed size: 1.7 M</span>
<span style="color: #888888;">Downloading Packages:</span>
<span style="color: #888888;">(1/3): ksh-20120801-21.el6.1.x86_64.rpm | 758 kB 00:00 </span>
<span style="color: #888888;">(2/3): libaio-devel-0.3.107-10.el6.x86_64.rpm | 13 kB 00:00 </span>
<span style="color: #888888;">(3/3): oracle-rdbms-server-12cR1-preinstall-1.0-12.el6.x86_64.rpm | 16 kB 00:00 </span>
<span style="color: #888888;">------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span>
<span style="color: #888888;">Total 657 kB/s | 786 kB 00:01 </span>
<span style="color: #888888;">...</span>
<span style="color: #888888;">Installed:</span>
<span style="color: #888888;"> oracle-rdbms-server-12cR1-preinstall.x86_64 0:1.0-12.el6 </span>
<span style="color: #888888;">Dependency Installed:</span>
<span style="color: #888888;"> ksh.x86_64 0:20120801-21.el6.1 libaio-devel.x86_64 0:0.3.107-10.el6 </span>
<span style="color: #888888;">Complete!</span>
</pre>
</div>
</div>
<ul>
<li>Desinstala <b><i>NTP</i></b></li>
</ul>
<div>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[root@collabn1 ~]#</span> yum remove -y ntp
<span style="color: #888888;">...</span>
<span style="color: #888888;">Removed:</span>
<span style="color: #888888;"> ntp.x86_64 0:4.2.6p5-1.el6 </span>
<span style="color: #888888;">... </span>
<span style="color: #888888;">Complete!</span></pre>
</div>
</div>
<div>
<br />
<ul>
<li>Instala <i style="font-weight: bold;">dnsmasq </i>y verifica que el servicio este arriba, asi como que el servicio inicie en el proximo reinicio del nodo</li>
</ul>
<div>
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[root@collabn1 ~]#</span> yum install -y dnsmasq
<span style="color: #888888;">...</span>
<span style="color: #888888;">Installed:</span>
<span style="color: #888888;"> dnsmasq-2.48-14.el6.x86_64 </span>
<span style="color: #888888;">... </span>
<span style="color: #888888;">Complete</span>
<span style="color: #c65d09; font-weight: bold;">[root@collabn1 Desktop]#</span> service dnsmasq start
<span style="color: #c65d09; font-weight: bold;">[root@collabn1 Desktop]#</span> chkconfig dnsmasq on</pre>
</div>
</div>
</div>
<br />
<b><u>Instala los Complementos de VirtualBox</u></b><br />
<ul>
<li>Haz que los complementos de VirtualBox esten disponibles para el sistema operativo, haz clic en <b><i>Virtualbox --></i></b> <i style="font-weight: bold;">Devices---> Instalar Guest Additions </i>y dale clic en <b><i>Ok</i></b> a la ventana de <b><i>autorun</i></b></li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-Hq2zrPRK2Mg/VFhRgptObBI/AAAAAAAAA2k/uVELJWGBP8M/s1600/2014-11-03_2203.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-Hq2zrPRK2Mg/VFhRgptObBI/AAAAAAAAA2k/uVELJWGBP8M/s1600/2014-11-03_2203.png" height="292" width="400" /></a></div>
<div>
<br /></div>
<ul>
<li>Vas a ver una terminal con lo siguiente:</li>
</ul>
<div>
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #888888;">Verifying archive integrity... All good.</span>
<span style="color: #888888;">Uncompressing VirtualBox 4.3.18 Guest Additions for Linux............</span>
<span style="color: #888888;">VirtualBox Guest Additions installer</span>
<span style="color: #888888;">Removing installed version 4.3.18 of VirtualBox Guest Additions...</span>
<span style="color: #888888;">Copying additional installer modules ...</span>
<span style="color: #888888;">Installing additional modules ...</span>
<span style="color: #888888;">Removing existing VirtualBox non-DKMS kernel modules [ OK ]</span>
<span style="color: #888888;">Building the VirtualBox Guest Additions kernel modules</span>
<span style="color: #888888;">Building the main Guest Additions module [ OK ]</span>
<span style="color: #888888;">Building the shared folder support module [ OK ]</span>
<span style="color: #888888;">Building the OpenGL support module [ OK ]</span>
<span style="color: #888888;">Doing non-kernel setup of the Guest Additions [ OK ]</span>
<span style="color: #888888;">You should restart your guest to make sure the new modules are actually used</span>
<span style="color: #888888;">Installing the Window System drivers</span>
<span style="color: #888888;">Installing X.Org Server 1.13 modules [ OK ]</span>
<span style="color: #888888;">Setting up the Window System to use the Guest Additions [ OK ]</span>
<span style="color: #888888;">You may need to restart the hal service and the Window System (or just restart</span>
<span style="color: #888888;">the guest system) to enable the Guest Additions.</span>
<span style="color: #888888;">Installing graphics libraries and desktop services componen[ OK ]</span>
<span style="color: #888888;">Press Return to close this window...</span>
</pre>
</div>
</div>
<ul>
<li>Habilita que el portapapeles sea bidireccional en <b><i>Virtualbox --></i></b> <b><i>Devices--->Shared Clipboard --> Bidirectional</i></b></li>
</ul>
<b><u>Prepara Linux para Oracle</u></b><br />
<ul>
<li>Modifica el archivo de login <b><i>pam.d</i></b> para que utilice límites. </li>
<ul>
<li>Nota.- Copia y pega el siguiente comando sed en la linea de comandos</li>
</ul>
</ul>
<div>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #888888;">sed -i -e '/session required pam_selinux.so open/i\</span>
<span style="color: #888888;">session required \/lib64\/security\/pam_limits.so\</span>
<span style="color: #888888;">session required pam_limits.so' /etc/pam.d/login</span>
</pre>
</div>
</div>
<ul>
<li>Cambia el password del usuario <b><i>oracle</i></b> a <b><i>racattack</i></b></li>
</ul>
<div>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[root@collabn1 ~]#</span> passwd oracle
<span style="color: #888888;"> Changing password for user oracle.</span>
<span style="color: #888888;"> New password:</span>
<span style="color: #888888;"> BAD PASSWORD: it is based on a dictionary word</span>
<span style="color: #888888;"> Retype new password:</span>
<span style="color: #888888;"> passwd: all authentication tokens updated successfully.</span>
</pre>
</div>
</div>
<ul>
<li>Crea el directorio de instalación y cambia los permisos que sean oracle:oinstall</li>
</ul>
<div>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[root@collabn1 ~]#</span> mkdir -p /u01/app
<span style="color: #c65d09; font-weight: bold;">[root@collabn1 ~]#</span> chown oracle:oinstall /u01/app
</pre>
</div>
</div>
<ul>
<li>Modifica el usuario oracle para que pertenezca al grupo vboxsf</li>
</ul>
<div>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[root@collabn1 ~]#</span> usermod -G oinstall,dba,vboxsf oracle
<span style="color: #c65d09; font-weight: bold;">[root@collabn1 ~]#</span> id oracle
<span style="color: #888888;"> uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba),54323(vboxsf)</span></pre>
</div>
</div>
<div>
<ul>
<li>Descomprime los archivos de instalación de la Base de Datos y de Grid Infrastructure que bajamos en la 1a parte</li>
</ul>
<div>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[root@collabn1 Desktop]#</span> <span style="color: #007020;">cd</span> /media/sf_RAC_12c
<span style="color: #c65d09; font-weight: bold;">[root@collabn1 sf_RAC_12c]#</span> ls
<span style="color: #888888;">linuxamd64_12102_database_1of2.zip linuxamd64_12102_grid_2of2.zip </span>
<span style="color: #888888;">linuxamd64_12102_database_2of2.zip linuxamd64_12102_grid_1of2.zip </span>
<span style="color: #c65d09; font-weight: bold;">[root@collabn1 sf_RAC_12c]#</span> unzip linuxamd64_12102_database_1of2.zip
<span style="color: #c65d09; font-weight: bold;">[root@collabn1 sf_RAC_12c]#</span> unzip linuxamd64_12102_database_2of2.zip
<span style="color: #c65d09; font-weight: bold;">[root@collabn1 sf_RAC_12c]#</span> unzip linuxamd64_12102_grid_1of2.zip
<span style="color: #c65d09; font-weight: bold;">[root@collabn1 sf_RAC_12c]#</span> unzip linuxamd64_12102_grid_2of2.zip
</pre>
</div>
</div>
<ul>
<li>Instala el paquete <b><i>cvuqdisk-1.0.9-1.rpm</i></b> que se encuentra en la carpeta grid/rpm dentro de la carpeta compartida que creamos en la 1a parte llamada <b><i>RAC_12c</i></b></li>
</ul>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[root@collabn1 Desktop]#</span> <span style="color: #007020;">cd</span> /media/sf_RAC_12c/grid/rpm
<span style="color: #c65d09; font-weight: bold;">[root@collabn1 rpm]#</span> rpm -Uvh ./cvuqdisk-1.0.9-1.rpm
<span style="color: #888888;">Preparing... ########################################### [100%]</span>
<span style="color: #888888;">Using default group oinstall to install package</span>
<span style="color: #888888;"> 1:cvuqdisk ########################################### [100%]</span>
</pre>
</div>
<br />
<b><u>Modifica los parametros de DNS</u></b><br />
<ul>
<li>Modifica el archivo <b><i>/etc/hosts</i></b> para que contenga las siguientes entradas</li>
<ul>
<li><i>Nota.- Asegurate que las entradas para el scan esten comentadas con un signo de "#" como se marca en rojo</i> abajo</li>
</ul>
</ul>
<div>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[root@collabn1 rpm]#</span> cat /etc/hosts
<span style="color: #888888;">127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4</span>
<span style="color: #888888;">::1 localhost localhost.localdomain localhost6 localhost6.localdomain6</span>
<span style="color: #888888;">192.168.78.51 collabn1 collabn1.racattack</span>
<span style="color: #888888;">192.168.78.61 collabn1-vip collabn1-vip.racattack</span>
<span style="color: #888888;">172.16.100.51 collabn1-priv collabn1-priv.racattack</span>
<span style="color: #888888;">192.168.78.52 collabn2 collabn2.racattack</span>
<span style="color: #888888;">192.168.78.62 collabn2-vip collabn2-vip.racattack</span>
<span style="color: #888888;">172.16.100.52 collabn2-priv collabn2-priv.racattack</span>
<span style="color: red;">#192.168.78.251 collabn-cluster-scan collabn-cluster-scan.racattack
#192.168.78.252 collabn-cluster-scan collabn-cluster-scan.racattack
#192.168.78.253 collabn-cluster-scan collabn-cluster-scan.racattack</span>
</pre>
</div>
</div>
<ul>
<li>Modifica el archivo <b><i>/etc/dnsmasq.conf</i></b> para que se parezca las entradas que están aquí</li>
</ul>
<div>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[root@collabn1 Desktop]#</span> cat /etc/dnsmasq.conf
<span style="color: #888888;">listen-address=192.168.78.51</span>
<span style="color: #888888;">port=53</span>
<span style="color: #888888;">no-resolv</span>
<span style="color: #888888;">domain-needed</span>
<span style="color: #888888;">bogus-priv</span>
<span style="color: #888888;">dns-forward-max=150</span>
<span style="color: #888888;">cache-size=1000</span>
<span style="color: #888888;">neg-ttl=3600</span>
<span style="color: #888888;">no-poll</span>
<span style="color: #888888;">no-hosts</span>
<span style="color: #888888;">addn-hosts=/etc/racdns</span>
</pre>
</div>
</div>
<ul>
<li>Modifica el archivo <b><i>/etc/racdns</i></b> para que se parezca a las entradas que están aquí</li>
</ul>
<div>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[root@collabn1 Desktop]#</span> cat /etc/racdns
<span style="color: #888888;">192.168.78.51 collabn1 collabn1.racattack</span>
<span style="color: #888888;">192.168.78.61 collabn1-vip collabn1-vip.racattack</span>
<span style="color: #888888;">172.16.100.51 collabn1-priv collabn1-priv.racattack</span>
<span style="color: #888888;">192.168.78.52 collabn2 collabn2.racattack</span>
<span style="color: #888888;">192.168.78.62 collabn2-vip collabn2-vip.racattack</span>
<span style="color: #888888;">172.16.100.52 collabn2-priv collabn2-priv.racattack</span>
<span style="color: #888888;">192.168.78.251 collabn-cluster-scan collabn-cluster-scan.racattack</span>
<span style="color: #888888;">192.168.78.252 collabn-cluster-scan collabn-cluster-scan.racattack</span>
<span style="color: #888888;">192.168.78.253 collabn-cluster-scan collabn-cluster-scan.racattack</span>
</pre>
</div>
</div>
<ul>
<li>Cambia los permisos del archivo <b><i>/etc/resolv.conf</i></b> para que no sea cambiado en el reinicio debido a DHCP</li>
</ul>
<div>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[root@collabn1 Desktop]#</span> chattr +i /etc/resolv.conf
</pre>
</div>
</div>
<ul>
<li>Habilita <b><i>dnsmasq</i></b> para que arranque cuando reinicies el nodo</li>
</ul>
<div>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[root@collabn1 Desktop]#</span> /sbin/chkconfig dnsmasq on
<span style="color: #c65d09; font-weight: bold;">[root@collabn1 Desktop]#</span> /sbin/chkconfig dnsmasq --list
<span style="color: #888888;">dnsmasq 0:off 1:off 2:on 3:on 4:on 5:on 6:off</span>
</pre>
</div>
</div>
<ul>
<li>Reinicia el servicio de <b><i>dnsmasq</i></b> y verifica que la dirección de DNS del scan responda</li>
</ul>
<div>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[root@collabn1 Desktop]#</span> /etc/init.d/dnsmasq restart
<span style="color: #888888;">Starting dnsmasq: [ OK ]</span>
<span style="color: #c65d09; font-weight: bold;">[root@collabn1 Desktop]#</span> nslookup collabn-cluster-scan
<span style="color: #888888;">Server: 192.168.78.51</span>
<span style="color: #888888;">Address: 192.168.78.51#53</span>
<span style="color: #888888;">Name: collabn-cluster-scan.racattack</span>
<span style="color: #888888;">Address: 192.168.78.253</span>
<span style="color: #888888;">Name: collabn-cluster-scan.racattack</span>
<span style="color: #888888;">Address: 192.168.78.251</span>
<span style="color: #888888;">Name: collabn-cluster-scan.racattack</span>
<span style="color: #888888;">Address: 192.168.78.252</span>
<span style="color: #c65d09; font-weight: bold;">[root@collabn1 rpm]#</span> cat /etc/resolv.conf
<span style="color: #888888;"># Generated by NetworkManager</span>
<span style="color: #888888;">search racattack</span>
<span style="color: #888888;">nameserver 192.168.78.51</span>
<span style="color: #888888;">nameserver 192.168.78.52</span>
<span style="color: #888888;">nameserver 192.168.15.1</span>
</pre>
</div>
</div>
<div>
<br />
<b><u>Agrega los discos compartidos</u></b><br />
<ul>
<li>Apagar el servidor <b><i>collabn1</i></b></li>
</ul>
<div>
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[root@collabn1 ~]#</span> shutdown -h now
<span style="color: #888888;">Broadcast message from root@collabn1.racattack</span>
<span style="color: #888888;"> (/dev/pts/0) at 9:06 ...</span>
<span style="color: #888888;">The system is going down for halt NOW!</span>
</pre>
</div>
</div>
<ul>
<li>En el Administrador de <b><i>VirtualBox</i></b>, seleccione la máquina <b><i>collabn1</i></b>, haz clic en <b style="font-style: italic;">Settings ->; Storage. </b>Selecciona el controlador<b style="font-style: italic;"> Controller SATA </b>y dale<b style="font-style: italic;"> </b>clic en el boton <b style="font-style: italic;"> Add Hard Disk :</b></li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-mZG6IYGCP2I/VFhhBhs56cI/AAAAAAAAA20/X2nK5UNlpO8/s1600/RA-Virtualbox_4216-Create_Shared_Storage-Add_Disk.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-mZG6IYGCP2I/VFhhBhs56cI/AAAAAAAAA20/X2nK5UNlpO8/s1600/RA-Virtualbox_4216-Create_Shared_Storage-Add_Disk.PNG" height="278" width="400" /></a></div>
<div>
<b><i><br /></i></b></div>
<ul>
<li>Dale clic en <b><i>Create New Disk</i></b>:</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-GEhGcjxOHOE/VFhhdXKvHHI/AAAAAAAAA28/lnxDR6seJQA/s1600/RA-Virtualbox_4216-Create_Shared_Storage-Create_New_Disk.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-GEhGcjxOHOE/VFhhdXKvHHI/AAAAAAAAA28/lnxDR6seJQA/s1600/RA-Virtualbox_4216-Create_Shared_Storage-Create_New_Disk.PNG" height="199" width="400" /></a></div>
<div>
<br /></div>
<ul>
<li>Deja seleccionado <b><i>VDI (VirtualBox Disk Image)</i></b> y dale clic a <b><i>Next</i></b>.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-Bn3-oBdJHVI/VFhhy08FXgI/AAAAAAAAA3E/dVsFUsk4j6c/s1600/RA-VBox_4214-Create_VM-Primary_Hard_Disk_Type.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-Bn3-oBdJHVI/VFhhy08FXgI/AAAAAAAAA3E/dVsFUsk4j6c/s1600/RA-VBox_4214-Create_VM-Primary_Hard_Disk_Type.png" height="337" width="400" /></a></div>
<div>
<br /></div>
<ul>
<li>Para el almacenamiento compartido, seleccione <b><i>Fixed size</i></b> y dale clic a <b><i>Next</i></b></li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-I1sXpJ7xxjE/VFhiTLR2usI/AAAAAAAAA3M/fcFultCrVHw/s1600/RA-Virtualbox_4216-Create_Shared_Storage-Fixed_Size.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-I1sXpJ7xxjE/VFhiTLR2usI/AAAAAAAAA3M/fcFultCrVHw/s1600/RA-Virtualbox_4216-Create_Shared_Storage-Fixed_Size.PNG" height="337" width="400" /></a></div>
<div>
<b><i><br /></i></b></div>
<ul>
<li>Camba la ubicación del archivo a la carpeta creada previamente llamada <b><i>racattack12</i></b>.</li>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<ul>
<li></li>
<li>Introduce <b><i>asm1.vdi</i></b> como nombre del disco. </li>
<li>Introduce <b><i>5.00Gb</i></b> como el tamaño del disco. </li>
<li>Haz clic en <b><i>Create</i></b></li>
</ul>
</ul>
<ul>
</ul>
</div>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-yW8jnahYtBI/VFhi1RpuGYI/AAAAAAAAA3Y/Nup7jo1-3RM/s1600/RA-Virtualbox_4216-Create_Shared_Storage-New_Disk_Name_and_Size.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-yW8jnahYtBI/VFhi1RpuGYI/AAAAAAAAA3Y/Nup7jo1-3RM/s1600/RA-Virtualbox_4216-Create_Shared_Storage-New_Disk_Name_and_Size.PNG" height="338" width="400" /></a></div>
<div>
<ul>
<li>Ahora el disco se creara físicamente con un tamaño de 5Gb, esto puede tomar un rato para que se complete.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-jtkYgJCCpjc/VFhjecUMoYI/AAAAAAAAA3g/nH4WEriFiUg/s1600/RA-Virtualbox_4216-Create_Shared_Storage-Creation_in_progress.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-jtkYgJCCpjc/VFhjecUMoYI/AAAAAAAAA3g/nH4WEriFiUg/s1600/RA-Virtualbox_4216-Create_Shared_Storage-Creation_in_progress.PNG" height="106" width="400" /></a></div>
<div>
<ul>
<li>Repite los pasos para crear <b>tres</b> discos más:</li>
<ul>
<li>asm2.vdi (5.00GB)</li>
<li>asm3.vdi (5.00GB)</li>
<li>asm4.vdi (5.00GB)</li>
</ul>
</ul>
<ul>
<li>Al último, cuatro discos virtuales deberían haber sido creado para asm.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-HtPSJpUj2oI/VFhj_zgYzTI/AAAAAAAAA3o/Spc0whv-r1I/s1600/RA-Virtualbox_4216-Create_Shared_Storage-4_Disks_created.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-HtPSJpUj2oI/VFhj_zgYzTI/AAAAAAAAA3o/Spc0whv-r1I/s1600/RA-Virtualbox_4216-Create_Shared_Storage-4_Disks_created.PNG" height="298" width="400" /></a></div>
<div>
<ul>
<li>Haz que todos los dispositivos de asm sean compartidos, en <b><i>VirtualBox Manager</i></b>, dale clic a <b><i>File -> Virtual Media Manager</i></b></li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-sdgGyqCjl3Q/VFhk74BctCI/AAAAAAAAA30/mIJjSK2HExk/s1600/2014-11-03_2332.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-sdgGyqCjl3Q/VFhk74BctCI/AAAAAAAAA30/mIJjSK2HExk/s1600/2014-11-03_2332.png" height="135" width="400" /></a></div>
<div>
<ul>
<li>Para cada uno de los dispositivos asm, dale clic derecho --> <b><i>Modify</i></b></li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-SfdBIjuP_i0/VFhlZKzzQxI/AAAAAAAAA38/kYo5pp2STac/s1600/2014-11-03_2334.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-SfdBIjuP_i0/VFhlZKzzQxI/AAAAAAAAA38/kYo5pp2STac/s1600/2014-11-03_2334.png" height="81" width="400" /></a></div>
<div>
<ul>
<li>Selecciona <b><i>Shareable</i></b> y dale clic a <b><i>Ok</i></b> . Hazlo por cada uno de los cuatro dispositivos asm.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-UCBKT4_4u0o/VFhl81xO1QI/AAAAAAAAA4I/s3f3vgZbOAg/s1600/2014-11-03_2334.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-UCBKT4_4u0o/VFhl81xO1QI/AAAAAAAAA4I/s3f3vgZbOAg/s1600/2014-11-03_2334.png" height="217" width="400" /></a></div>
<div>
<ul>
<li>Inicia el nodo <b><i>collabn1</i></b>. Deberías de ver ahora los cuatro discos con el nombre de la <b><i>sdb</i></b> a la <b><i>sde</i></b> en <b><i>/dev/sd *</i></b>:</li>
</ul>
<div>
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="margin: 0px;"><span style="color: #c65d09; font-weight: bold; line-height: 125%;">[root@collabn1 ~]#</span><span style="line-height: 125%;"> ls -l /dev/sd*
</span><span style="color: #888888; line-height: 125%;">brw-rw---- 1 root disk 8, 0 Oct 23 16:02 /dev/sda</span><span style="line-height: 125%;">
</span><span style="color: #888888; line-height: 125%;">brw-rw---- 1 root disk 8, 1 Oct 23 16:02 /dev/sda1</span><span style="line-height: 125%;">
</span><span style="color: #888888; line-height: 125%;">brw-rw---- 1 root disk 8, 2 Oct 23 16:02 /dev/sda2</span><span style="line-height: 125%;">
</span><span style="color: #888888; line-height: 125%;">brw-rw---- 1 root disk 8, 16 Oct 23 16:02 /dev/sdb</span><span style="line-height: 125%;">
</span><span style="color: #888888; line-height: 125%;">brw-rw---- 1 root disk 8, 32 Oct 23 16:02 /dev/sdc</span><span style="line-height: 125%;">
</span><span style="color: #888888; line-height: 125%;">brw-rw---- 1 root disk 8, 48 Oct 23 16:02 /dev/sdd</span><span style="line-height: 125%;">
</span><span style="color: #888888; line-height: 125%;">brw-rw---- 1 root disk 8, 64 Oct 23 16:02 /dev/sde</span><span style="font-family: Times;"><span style="white-space: normal;">
</span></span></pre>
</div>
</div>
<ul>
<li>Una vez que los nuevos discos se pueden ver por el servidor, añade una partición primaria en cada uno de ellos con <b><i>fdisk</i></b></li>
</ul>
<div>
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[root@collabn1 ~]#</span> fdisk /dev/sdb
<span style="color: #888888;">Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel</span>
<span style="color: #888888;">Building a new DOS disklabel with disk identifier 0x97cc9f57.</span>
<span style="color: #888888;">Changes will remain in memory only, until you decide to write them.</span>
<span style="color: #888888;">After that, of course, the previous content won't be recoverable.</span>
<span style="color: #888888;">Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)</span>
<span style="color: #888888;">WARNING: DOS-compatible mode is deprecated. It's strongly recommended to</span>
<span style="color: #888888;"> switch off the mode (command 'c') and change display units to</span>
<span style="color: #888888;"> sectors (command 'u').</span>
<span style="color: #888888;">Command (m for help): n</span>
<span style="color: #888888;">Command action</span>
<span style="color: #888888;"> e extended</span>
<span style="color: #888888;"> p primary partition (1-4)</span>
<span style="color: #888888;">p</span>
<span style="color: #888888;">Partition number (1-4): 1</span>
<span style="color: #888888;">First cylinder (1-652, default 1): <enter></span>
<span style="color: #888888;">Using default value 1</span>
<span style="color: #888888;">Last cylinder, +cylinders or +size{K,M,G} (1-652, default 652): <enter></span>
<span style="color: #888888;">Using default value 652</span>
<span style="color: #888888;">Command (m for help): w</span>
<span style="color: #888888;">The partition table has been altered!</span>
<span style="color: #888888;">Calling ioctl() to re-read partition table.</span>
<span style="color: #888888;">Syncing disks.</span></pre>
</div>
</div>
<ul>
<li>Repite el ultimo paso para los discos <b><i>sdc</i></b>, <b><i>sdd</i></b> y <i><b>sde</b></i></li>
<ul>
<li>Cuando hayas terminado, todos los discos deben de tener al menos una partición:</li>
</ul>
</ul>
<div>
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[root@collabn1 ~]#</span> ls -l /dev/sd?1
<span style="color: #888888;">brw-rw----. 1 root disk 8, 1 Oct 23 19:16 /dev/sda1</span>
<span style="color: #888888;">brw-rw----. 1 root disk 8, 17 Oct 23 19:23 /dev/sdb1</span>
<span style="color: #888888;">brw-rw----. 1 root disk 8, 33 Oct 23 19:27 /dev/sdc1</span>
<span style="color: #888888;">brw-rw----. 1 root disk 8, 49 Oct 23 19:27 /dev/sdd1</span>
<span style="color: #888888;">brw-rw----. 1 root disk 8, 65 Oct 23 19:27 /dev/sde1</span>
</pre>
</div>
</div>
<ul>
<li>Configura la opción -<b><i>g </i></b>para que el comando <b><i>scsi_id</i></b> espere un UUID de los dispositivos compartidos.</li>
</ul>
<div>
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[root@collabn1 ~]#</span> <span style="color: #007020;">echo</span> <span style="background-color: #fff0f0;">"options=-g"</span> > /etc/scsi_id.config
</pre>
</div>
</div>
<ul>
<li>Prepara el archivo <b><i>/etc/udev/rules.d/99-oracle-asmdevices.rules</i></b> ejecutando el siguiente script:</li>
<ul>
<li><i>Nota.- Copia y pega el siguiente comando en la linea de comandos</i></li>
</ul>
</ul>
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #888888;">i=1</span>
<span style="color: #888888;">cmd="/sbin/scsi_id -g -u -d"</span>
<span style="color: #888888;">for disk in sdb sdc sdd sde ; do </span>
<span style="color: #888888;"> cat <<EOF >> /etc/udev/rules.d/99-oracle-asmdevices.rules</span>
<span style="color: #888888;">KERNEL=="sd?1", BUS=="scsi", PROGRAM=="$cmd /dev/\$parent", \</span>
<span style="color: #888888;"> RESULT=="`$cmd /dev/$disk`", NAME="asm-disk$i", OWNER="oracle", GROUP="dba", MODE="0660"</span>
<span style="color: #888888;">EOF</span>
<span style="color: #888888;"> i=$(($i+1)) </span>
<span style="color: #888888;">done</span>
</pre>
</div>
<ul>
<li>Una vez que termine el archivo debe ser similar al siguiente (con excepción al scsi UUID).</li>
</ul>
<div>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="margin: 0px;"><span style="color: #c65d09; font-weight: bold; line-height: 125%;">[root@collabn1 ~]#</span><span style="line-height: 125%;"> cat /etc/udev/rules.d/99-oracle-asmdevices.rules
</span><span style="color: #888888; line-height: 125%;">KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -d /dev/$parent", RESULT=="1ATA_VBOX_HARDDISK_VBa48d719f-a8ce182e", NAME="asm-disk1", OWNER="oracle", GROUP="dba", MODE="0660"</span><span style="line-height: 125%;">
</span><span style="color: #888888; line-height: 125%;">KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -d /dev/$parent", RESULT=="1ATA_VBOX_HARDDISK_VBb722cc20-231789e9", NAME="asm-disk2", OWNER="oracle", GROUP="dba", MODE="0660"</span><span style="line-height: 125%;">
</span><span style="color: #888888; line-height: 125%;">KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -d /dev/$parent", RESULT=="1ATA_VBOX_HARDDISK_VB500cd3cd-e9ab238b", NAME="asm-disk3", OWNER="oracle", GROUP="dba", MODE="0660"</span><span style="line-height: 125%;">
</span><span style="color: #888888; line-height: 125%;">KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -d /dev/$parent", RESULT=="1ATA_VBOX_HARDDISK_VBfa3c1db3-e0d951fd", NAME="asm-disk4", OWNER="oracle", GROUP="dba", MODE="0660"</span><span style="font-family: Times;"><span style="white-space: normal;">
</span></span></pre>
</div>
</div>
<ul>
<li>Actualiza las reglas de <b><i>udev</i></b> y reinicia <b><i>udev</i></b>:</li>
</ul>
<div>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="margin: 0px;"><span style="line-height: 125%;"><span style="color: #c65d09; font-weight: bold;">[root@collabn1 ~]#</span> /sbin/partprobe /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1
<span style="color: #c65d09; font-weight: bold;">[root@collabn1 ~]#</span> /sbin/udevadm <span style="color: #007020;">test</span> /block/sdb/sdb1
<span style="color: #c65d09; font-weight: bold;">[root@collabn1 ~]#</span> /sbin/udevadm <span style="color: #007020;">test</span> /block/sdc/sdc1
<span style="color: #c65d09; font-weight: bold;">[root@collabn1 ~]#</span> /sbin/udevadm <span style="color: #007020;">test</span> /block/sdd/sdd1
<span style="color: #c65d09; font-weight: bold;">[root@collabn1 ~]#</span> /sbin/udevadm <span style="color: #007020;">test</span> /block/sde/sde1
<span style="color: #c65d09; font-weight: bold;">[root@collabn1 ~]#</span> /sbin/udevadm control --reload-rules</span><span style="font-family: Times;"><span style="white-space: normal;">
</span></span></pre>
</div>
</div>
<ul>
<li>Los nuevos discos están listos para su uso:</li>
</ul>
<div>
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[root@collabn1 ~]#</span> ls -l /dev/asm*
<span style="color: #888888;">brw-rw---- 1 oracle dba 8, 17 Nov 5 20:47 /dev/asm-disk1</span>
<span style="color: #888888;">brw-rw---- 1 oracle dba 8, 33 Nov 5 20:47 /dev/asm-disk2</span>
<span style="color: #888888;">brw-rw---- 1 oracle dba 8, 49 Nov 5 20:47 /dev/asm-disk3</span>
<span style="color: #888888;">brw-rw---- 1 oracle dba 8, 65 Nov 5 19:33 /dev/asm-disk4</span>
</pre>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<br />
<b><u>Clona <i>collabn1</i> y crea una segunda VM <i>collabn2</i></u></b><br />
<ul>
<li>Apagar el servidor <b><i>collabn1</i></b></li>
</ul>
<div>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 16.25px;"><span style="color: #c65d09; font-weight: bold;">[root@collabn1 ~]#</span> shutdown -h now
<span style="color: #888888;">Broadcast message from root@collabn1.racattack</span>
<span style="color: #888888;"> (/dev/pts/0) at 11:17 ...</span>
<span style="color: #888888;">The system is going down for halt NOW!</span></pre>
</div>
</div>
<br />
<ul>
<li>Clona el disco <b><i>collabn1.vdi</i></b> desde <b><i>VirtualBox Manager</i></b>, dale clic a <b><i>File -> Virtual Media Manager</i></b></li>
</ul>
<ul>
<li>Dale clic derecho al disco <b><i>collabn1.vdi</i></b> y dale clic a Copy...</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-OcV8nUmfvkw/VFrkrqhSYiI/AAAAAAAAA4Y/R0ahRqVgMhI/s1600/2014-11-05_2101.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-OcV8nUmfvkw/VFrkrqhSYiI/AAAAAAAAA4Y/R0ahRqVgMhI/s1600/2014-11-05_2101.png" height="311" width="400" /></a></div>
<div>
<br /></div>
<ul>
<li>Deja seleccionado el archivo <b><i>collabn1.vdi </i></b>y dale clic a <b><i>Next</i></b>.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-dh9MbE_0zoQ/VFrlWJNaTVI/AAAAAAAAA4g/l_Dg0D1MNOw/s1600/2014-11-05_2104.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-dh9MbE_0zoQ/VFrlWJNaTVI/AAAAAAAAA4g/l_Dg0D1MNOw/s1600/2014-11-05_2104.png" height="308" width="400" /></a></div>
<div>
<b><i><br /></i></b></div>
<ul>
<li>Deja <b><i>VDI</i></b> seleccionado y dale clic a <b><i>Next</i></b>.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-o7VX65CF8_4/VFrmQrKJpDI/AAAAAAAAA4o/K6dj9KcO0kk/s1600/2014-11-05_2107.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-o7VX65CF8_4/VFrmQrKJpDI/AAAAAAAAA4o/K6dj9KcO0kk/s1600/2014-11-05_2107.png" height="256" width="400" /></a></div>
<div>
<br /></div>
<ul>
<li>Selecciona <b><i>Dinamically allocated</i></b> y dale clic a Next.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-ur65QrKYgPE/VFrmi08ZcKI/AAAAAAAAA4w/oMaCVtvtdz4/s1600/2014-11-05_2109.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-ur65QrKYgPE/VFrmi08ZcKI/AAAAAAAAA4w/oMaCVtvtdz4/s1600/2014-11-05_2109.png" height="255" width="400" /></a></div>
<div>
<br /></div>
<ul>
<li>Escribe la ruta completa o elige a través del icono de exploración la ubicación para el archivo de disco que se creará.</li>
<ul>
<li>Camba la ubicación del archivo a la carpeta creada previamente llamada <b><i>racattack12</i></b>.</li>
<li>El nombre del archivo se va llamar collabn2.vdi y dale clic a Copy</li>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-wF8_bgq-oQ4/VFrqEomLZdI/AAAAAAAAA48/vxd7Oi8Qq7o/s1600/2014-11-05_2124.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-wF8_bgq-oQ4/VFrqEomLZdI/AAAAAAAAA48/vxd7Oi8Qq7o/s1600/2014-11-05_2124.png" height="257" width="400" /></a></div>
<div>
<br /></div>
<ul>
<li>Haz clic en <b><i>Close</i></b> para salir del <b><i>Virtual Media Manager</i></b>.</li>
<li>En VirtualBox, haz clic en el icono de <b><i>New</i></b> en la esquina superior izquierda para crear la nueva máquina virtual.</li>
<li>Pon el nombre de <b><i>collabn2</i></b>, escoge <b><i>Linux</i></b> para el tipo y <b><i>Oracle(64 bit)</i></b> para la versión y dale clic a <b><i>Next</i></b></li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-_fj6aGLXPhs/VFrrUpnQWMI/AAAAAAAAA5I/nwITWag45UM/s1600/2014-11-05_2127.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-_fj6aGLXPhs/VFrrUpnQWMI/AAAAAAAAA5I/nwITWag45UM/s1600/2014-11-05_2127.png" height="332" width="400" /></a></div>
<div>
<br /></div>
<ul>
<li>Asignale <b><i>3072</i></b> en el tamaño de la memoria y dale clic a <b><i>Next</i></b></li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-VgXCrtqyNGk/VFrrncbIvuI/AAAAAAAAA5Q/dR4OyG1tm4g/s1600/2014-11-05_2130.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-VgXCrtqyNGk/VFrrncbIvuI/AAAAAAAAA5Q/dR4OyG1tm4g/s1600/2014-11-05_2130.png" height="245" width="400" /></a></div>
<div>
<br /></div>
<ul>
<li>Selecciona <b><i>Use an existing virtual hard drive file</i></b> y utiliza el icono de carpeta para localizar el archivo que clonamos anteriormente llamado collabn2.vdi</li>
<ul>
<li>Haz clic en <b><i>Create</i></b> para completar la creación de la segunda máquina virtual</li>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-W0X5Qy6uuP0/VFrsbyVDQ4I/AAAAAAAAA5Y/UBgNw5pWe2w/s1600/2014-11-05_2134.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-W0X5Qy6uuP0/VFrsbyVDQ4I/AAAAAAAAA5Y/UBgNw5pWe2w/s1600/2014-11-05_2134.png" height="242" width="400" /></a></div>
<div>
<br /></div>
<ul>
<li>Ahora hay dos máquinas virtuales; <b><i>collabn2</i></b> siendo un clon de <b><i>collabn1</i></b>.</li>
<ul>
<li>Desde la pantalla principal, selecciona la maquina virtual <b><i>collabn2</i></b> y haz clic en el icono de <b><i>Settings</i></b> en la esquina superior izquierda.</li>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-FfqC6srC2yQ/VFrtRxgrVXI/AAAAAAAAA5g/MWrnjrAl0vA/s1600/2014-11-05_2138.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-FfqC6srC2yQ/VFrtRxgrVXI/AAAAAAAAA5g/MWrnjrAl0vA/s1600/2014-11-05_2138.png" height="333" width="400" /></a></div>
<br />
<br />
<div>
<br /></div>
<div>
<ul>
<li></li>
<li>Abre el sub-menu <b><i>Network</i></b>.</li>
<li>Selecciona el <b><i>Adapter 1</i></b> , habilita el adaptador y cambia la selección de <b><i>Attached to</i></b>: a <b><i>Host-only Adapter</i></b></li>
</ul>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-FWNgUFuq9Vk/VFGmteDAHfI/AAAAAAAAAxU/A0zYINVyZMg/s1600/2014-10-29_2046.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-FWNgUFuq9Vk/VFGmteDAHfI/AAAAAAAAAxU/A0zYINVyZMg/s1600/2014-10-29_2046.png" height="256" width="320" /></a></div>
<div>
<ul>
<li>Selecciona el Adapter 2 , habilita el adaptador y cambia la selección de Attached to: a Internal Network, cambia el nombre rac-priv en el campo Name.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-U7Yu9Qu5nj0/VFGnseRowgI/AAAAAAAAAxc/ngYB6LqapHI/s1600/2014-10-29_2050.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-U7Yu9Qu5nj0/VFGnseRowgI/AAAAAAAAAxc/ngYB6LqapHI/s1600/2014-10-29_2050.png" height="326" width="400" /></a></div>
<div>
<br /></div>
<ul>
<li>Selecciona el Adapter 3 , habilita el adaptador y cambia la selección de Attached to: a NAT.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-R706Ttk2vmg/VFGoD16QUwI/AAAAAAAAAxk/8mZWTJh1iPM/s1600/2014-10-29_2052.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-R706Ttk2vmg/VFGoD16QUwI/AAAAAAAAAxk/8mZWTJh1iPM/s1600/2014-10-29_2052.png" height="326" width="400" /></a></div>
<div>
<br /></div>
<ul>
<li>Selecciona el Adapter 4 , habilita el adaptador y cambia la selección de Attached to: a Bridged Adapter, asegurate que en el nombre, este seleccionado la tarjeta de red que tenga acceso a internet .</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-XnfAEYPXLZk/VFGowLZfYQI/AAAAAAAAAxw/prTA1Y8bpKY/s1600/2014-10-29_2054.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-XnfAEYPXLZk/VFGowLZfYQI/AAAAAAAAAxw/prTA1Y8bpKY/s1600/2014-10-29_2054.png" height="327" width="400" /></a></div>
<div>
<br /></div>
<ul>
<li>Selecciona el tab de Shared Folders. Haz clic en Agregar carpeta compartida e introduce la ruta donde descargaste los archivos de instalación de Oracle y escribe un nombre para la carpeta, en mi caso le puse RAC_12c y dale clic en OK y de nuevo dale clic en OK.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-NYcz8hw3GEU/VFGqLeFu-BI/AAAAAAAAAx4/p55-5tHx_pg/s1600/2014-10-29_2101.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-NYcz8hw3GEU/VFGqLeFu-BI/AAAAAAAAAx4/p55-5tHx_pg/s1600/2014-10-29_2101.png" height="262" width="400" /></a></div>
<div>
<br /></div>
<ul>
<li>Haz clic en <b style="font-style: italic;">Storage. </b>Selecciona el controlador<b style="font-style: italic;"> Controller SATA </b>y dale<b style="font-style: italic;"> </b>clic en el boton <b style="font-style: italic;"> Add Hard Disk :</b></li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-mZG6IYGCP2I/VFhhBhs56cI/AAAAAAAAA24/P5KShlqweIo/s1600/RA-Virtualbox_4216-Create_Shared_Storage-Add_Disk.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-mZG6IYGCP2I/VFhhBhs56cI/AAAAAAAAA24/P5KShlqweIo/s1600/RA-Virtualbox_4216-Create_Shared_Storage-Add_Disk.PNG" height="278" width="400" /></a></div>
<div>
<b><i><br /></i></b></div>
<ul>
<li>Dale clic en <b><i>Choose Existing Disk</i></b>:</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-GEhGcjxOHOE/VFhhdXKvHHI/AAAAAAAAA3A/tNYs_5akSso/s1600/RA-Virtualbox_4216-Create_Shared_Storage-Create_New_Disk.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-GEhGcjxOHOE/VFhhdXKvHHI/AAAAAAAAA3A/tNYs_5akSso/s1600/RA-Virtualbox_4216-Create_Shared_Storage-Create_New_Disk.PNG" /></a></div>
<div>
<br /></div>
<ul>
<li>Selecciona el disco <b><i>asm1</i></b>.vdi y dale clic a <b><i>Open</i></b>.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-nX-ZcbLyp0E/VFrwuDSPxqI/AAAAAAAAA5s/s01xKCdnqzU/s1600/2014-11-05_2152.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-nX-ZcbLyp0E/VFrwuDSPxqI/AAAAAAAAA5s/s01xKCdnqzU/s1600/2014-11-05_2152.png" height="232" width="320" /></a></div>
<div>
<br /></div>
<ul>
<li>Haz lo mismo para los discos asm2.vdi , asm3.vdi y asm4.vdi</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-N4sVV0ebOnc/VFrw7v3ttEI/AAAAAAAAA50/pil-npSBpWY/s1600/2014-11-05_2153.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-N4sVV0ebOnc/VFrw7v3ttEI/AAAAAAAAA50/pil-npSBpWY/s1600/2014-11-05_2153.png" height="315" width="400" /></a></div>
<div>
<br /></div>
<ul>
<li>Haga clic en <b><i>OK</i></b> para guardar las modificaciones.</li>
<li>Arranca la maquina virtual <b><i>collabn2</i></b> .</li>
<li>La red no estará disponible todavía, porque reinicializamos los adaptadores de red por lo que tenemos que hacer los siguientes cambios en la máquina virtual .</li>
<li>Inicia la sesión como <b><i>root</i></b> / <b><i>racattack </i></b>y abre una terminal de bash como se mostro al final de la 1a parte</li>
</ul>
<div>
<ul>
<li>Cambia los permisos del archivo <b><i>/etc/resolv.conf </i></b>para poder cambiar los parametros de red sin ningun problema</li>
<div>
</div>
</ul>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 16.25px;"><span style="color: #c65d09; font-weight: bold;">[root@collabn2 Desktop]#</span> chattr -i /etc/resolv.conf</pre>
</div>
</div>
<ul>
<li>Escriba <i style="font-weight: bold;">system-config-red </i>en la linea de comandos. <b><i>Device configuration</i></b> ya está resaltada. Dale clic a tu tecla de "<b><i>Enter</i></b>".</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-iOyWzFzswtk/VFr0kSssbmI/AAAAAAAAA6E/5CfQx19c4vA/s1600/RA-Oracle_Linux_6_64bit-Configure_OS-post_clone_network_change.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-iOyWzFzswtk/VFr0kSssbmI/AAAAAAAAA6E/5CfQx19c4vA/s1600/RA-Oracle_Linux_6_64bit-Configure_OS-post_clone_network_change.PNG" height="260" width="400" /></a></div>
<div>
<br /></div>
<ul>
<li><b><i>eth0 (eth0) - Ethernet</i></b> ya está resaltado. Dale click a tu tecla de "<b><i>Enter</i></b>".</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-Vi4BAVD61z0/VFr1gMag7GI/AAAAAAAAA6Q/96Vq1Q8CCuI/s1600/RA-Oracle_Linux_6_64bit-Configure_OS-post_clone_network_save_devices-2.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-Vi4BAVD61z0/VFr1gMag7GI/AAAAAAAAA6Q/96Vq1Q8CCuI/s1600/RA-Oracle_Linux_6_64bit-Configure_OS-post_clone_network_save_devices-2.PNG" height="260" width="400" /></a></div>
<div>
<br /></div>
<ul>
<li>Baja a la línea de <b><i>Static IP</i></b>. Cambie la IP a <b><i>192.168.78.52</i></b> . Baja a Ok y Dale click a tu tecla de "<b><i>Enter</i></b>".</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-yLCtFCDqGF4/VFr2tFeAuDI/AAAAAAAAA6Y/r8nNm0muioM/s1600/RA-Oracle_Linux_6_64bit-Configure_OS-post_clone_network_eth0.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-yLCtFCDqGF4/VFr2tFeAuDI/AAAAAAAAA6Y/r8nNm0muioM/s1600/RA-Oracle_Linux_6_64bit-Configure_OS-post_clone_network_eth0.PNG" height="260" width="400" /></a></div>
<div>
<br /></div>
<ul>
<li>Selecciona eth1 (eth1) - Ethernet y dale click a tu tecla de "<b><i>Enter</i></b>". Baja a la línea de <b><i>Static IP</i></b>. Cambie la IP a <b><i>172.16.100.52</i></b></li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-3o-PzPc4S8g/VFr3TDZr96I/AAAAAAAAA6g/soy7LCxukn8/s1600/RA-Oracle_Linux_6_64bit-Configure_OS-post_clone_network_eth1.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-3o-PzPc4S8g/VFr3TDZr96I/AAAAAAAAA6g/soy7LCxukn8/s1600/RA-Oracle_Linux_6_64bit-Configure_OS-post_clone_network_eth1.PNG" height="260" width="400" /></a></div>
<ul>
<li>Presiona la tecla "<b><i>Tab</i></b>" hasta llegar a <b><i>Save</i></b> y dale click a tu tecla de "<b><i>Enter</i></b>".</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/--tLHGbMnsZ8/VFr3xGpjZxI/AAAAAAAAA6s/HAMwhq8kkL4/s1600/RA-Oracle_Linux_6_64bit-Configure_OS-post_clone_network_save_devices-3.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/--tLHGbMnsZ8/VFr3xGpjZxI/AAAAAAAAA6s/HAMwhq8kkL4/s1600/RA-Oracle_Linux_6_64bit-Configure_OS-post_clone_network_save_devices-3.PNG" height="260" width="400" /></a></div>
<ul>
<li>Presiona la tecla de "<b><i>Flecha hacia Abajo</i></b>" hasta llegar a DNS configuration y dale click a tu tecla de "<b><i>Enter</i></b>".</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-qJQj3VqwsH4/VFr4mUaVk2I/AAAAAAAAA60/pkvfMqt-Ymc/s1600/RA-Oracle_Linux_6_64bit-Configure_OS-post_clone_DNS_configuration.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-qJQj3VqwsH4/VFr4mUaVk2I/AAAAAAAAA60/pkvfMqt-Ymc/s1600/RA-Oracle_Linux_6_64bit-Configure_OS-post_clone_DNS_configuration.PNG" height="260" width="400" /></a></div>
<ul>
<li>En el campo Hostname, cambia a<b><i> collabn2.racattack</i></b>. Presiona la tecla "<b><i>Tab</i></b>" hasta llegar a <b><i>Ok</i></b> y dale click a tu tecla de "<b><i>Enter</i></b>".</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-NfVthIcQZG4/VFr53S-QLQI/AAAAAAAAA68/mjwvOeF2JsU/s1600/RA-Oracle_Linux_6_64bit-Configure_OS-post_clone_network_dns_change.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-NfVthIcQZG4/VFr53S-QLQI/AAAAAAAAA68/mjwvOeF2JsU/s1600/RA-Oracle_Linux_6_64bit-Configure_OS-post_clone_network_dns_change.PNG" height="260" width="400" /></a></div>
<ul>
<li>Presiona la tecla "<b><i>Tab</i></b>" hasta llegar a <b><i>Save&Quit</i></b> y dale click a tu tecla de "<b><i>Enter</i></b>".</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-hvOlTrbIChQ/VFr6MT5vjLI/AAAAAAAAA7E/Yk_J99vy8iM/s1600/RA-Oracle_Linux_6_64bit-Configure_OS-post_clone_network_save_quit.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-hvOlTrbIChQ/VFr6MT5vjLI/AAAAAAAAA7E/Yk_J99vy8iM/s1600/RA-Oracle_Linux_6_64bit-Configure_OS-post_clone_network_save_quit.PNG" height="260" width="400" /></a></div>
<ul>
<li>Quita el archivo de reglas de red udev. Se regenerara en el siguiente reinicio de nodo con las nuevas direcciones MAC.</li>
</ul>
<div>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="margin: 0px;"><span style="line-height: 125%;"><span style="color: #c65d09; font-weight: bold;">[root@collabn2 ~]#</span> rm -f /etc/udev/rules.d/70-persistent-net.rules</span><span style="font-family: Times;"><span style="white-space: normal;">
</span></span></pre>
</div>
</div>
<ul>
<li>Quita las líneas HWaddr y UUID en los archivos de configuración del adaptador de red.</li>
</ul>
<div>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="margin: 0px;"><span style="color: #888888; line-height: 125%;">[root @ collabn2 ~] # sed -i -e '/ HWADDR / d' -e '/ UUID / d' / etc / sysconfig / network-scripts / ifcfg-eth [0-3]</span></pre>
</div>
</div>
</div>
<ul>
<li>Modifica el archivo <b><i>/etc/dnsmasq.conf</i></b> para que se parezca las entradas que están aquí</li>
</ul>
<div>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 16.25px;"><span style="color: #c65d09; font-weight: bold;">[root@collabn2 Desktop]#</span> cat /etc/dnsmasq.conf
<span style="color: #888888;">listen-address=192.168.78.52</span>
<span style="color: #888888;">port=53</span>
<span style="color: #888888;">no-resolv</span>
<span style="color: #888888;">domain-needed</span>
<span style="color: #888888;">bogus-priv</span>
<span style="color: #888888;">dns-forward-max=150</span>
<span style="color: #888888;">cache-size=1000</span>
<span style="color: #888888;">neg-ttl=3600</span>
<span style="color: #888888;">no-poll</span>
<span style="color: #888888;">no-hosts</span>
<span style="color: #888888;">addn-hosts=/etc/racdns</span></pre>
</div>
</div>
</div>
<div>
<ul>
<li>Cambia los permisos del archivo /etc/resolv.conf para que no sea cambiado en el reinicio debido a DHCP</li>
</ul>
<div>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[root@collabn2 Desktop]#</span> chattr +i /etc/resolv.conf
</pre>
</div>
</div>
<ul>
<li>Reinicia la maquina virtual <b><i>collabn2</i></b> escribiendo <i style="font-weight: bold;">reboot </i>en la linea de comandos.</li>
<li>Verifica que todas las interfaces de red están activas.</li>
</ul>
<div>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="margin: 0px;"><span style="color: #c65d09; font-weight: bold; line-height: 125%;">[root@collabn2 Desktop]#</span><span style="line-height: 125%;"> ip l
</span><span style="color: #888888; line-height: 125%;">1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN </span><span style="line-height: 125%;">
</span><span style="color: #888888; line-height: 125%;"> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00</span><span style="line-height: 125%;">
</span><span style="color: #888888; line-height: 125%;">2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000</span><span style="line-height: 125%;">
</span><span style="color: #888888; line-height: 125%;"> link/ether 08:00:27:eb:1e:2d brd ff:ff:ff:ff:ff:ff</span><span style="line-height: 125%;">
</span><span style="color: #888888; line-height: 125%;">3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000</span><span style="line-height: 125%;">
</span><span style="color: #888888; line-height: 125%;"> link/ether 08:00:27:f8:36:19 brd ff:ff:ff:ff:ff:ff</span><span style="line-height: 125%;">
</span><span style="color: #888888; line-height: 125%;">4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000</span><span style="line-height: 125%;">
</span><span style="color: #888888; line-height: 125%;"> link/ether 08:00:27:42:fc:cd brd ff:ff:ff:ff:ff:ff</span><span style="line-height: 125%;">
</span><span style="color: #888888; line-height: 125%;">5: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000</span><span style="line-height: 125%;">
</span><span style="color: #888888; line-height: 125%;"> link/ether 08:00:27:02:5b:b5 brd ff:ff:ff:ff:ff:ff</span><span style="font-family: Times;"><span style="white-space: normal;">
</span></span></pre>
</div>
</div>
<ul>
<li>Verifica que todos los dispositivos de <b><i>ASM</i></b> son visibles.</li>
</ul>
<div>
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="margin: 0px;"><span style="color: #c65d09; font-weight: bold; line-height: 125%;">[root@collabn2 Desktop]#</span><span style="line-height: 125%;"> ls -l /dev/asm*
</span><span style="color: #888888; line-height: 125%;">brw-rw---- 1 oracle dba 8, 17 Nov 5 22:47 /dev/asm-disk1</span><span style="line-height: 125%;">
</span><span style="color: #888888; line-height: 125%;">brw-rw---- 1 oracle dba 8, 33 Nov 5 22:47 /dev/asm-disk2</span><span style="line-height: 125%;">
</span><span style="color: #888888; line-height: 125%;">brw-rw---- 1 oracle dba 8, 49 Nov 5 22:47 /dev/asm-disk3</span><span style="line-height: 125%;">
</span><span style="color: #888888; line-height: 125%;">brw-rw---- 1 oracle dba 8, 65 Nov 5 22:10 /dev/asm-disk4</span><span style="font-family: Times;"><span style="white-space: normal;">
</span></span></pre>
</div>
</div>
<ul>
<li>Reinicia el servicio de <b><i>dnsmasq</i></b> y verifica que la dirección de DNS del scan responda</li>
</ul>
<div>
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #c65d09; font-weight: bold;">[root@collabn2 Desktop]#</span> /etc/init.d/dnsmasq restart
<span style="color: #888888;">Starting dnsmasq: [ OK ]</span>
<span style="color: #c65d09; font-weight: bold;">[root@collabn2 Desktop]#</span> nslookup collabn-cluster-scan
<span style="color: #888888;">Server: 192.168.78.52</span>
<span style="color: #888888;">Address: 192.168.78.52#53</span>
<span style="color: #888888;">Name: collabn-cluster-scan.racattack</span>
<span style="color: #888888;">Address: 192.168.78.253</span>
<span style="color: #888888;">Name: collabn-cluster-scan.racattack</span>
<span style="color: #888888;">Address: 192.168.78.251</span>
<span style="color: #888888;">Name: collabn-cluster-scan.racattack</span>
<span style="color: #888888;">Address: 192.168.78.252</span>
<span style="color: #c65d09; font-weight: bold;">[root@collabn2 </span><span style="color: #c65d09; font-weight: bold; line-height: 125%;">Desktop</span><span style="color: #c65d09; font-weight: bold; line-height: 125%;">]#</span><span style="line-height: 125%;"> cat /etc/resolv.conf</span>
<span style="color: #888888;"># Generated by NetworkManager</span>
<span style="color: #888888;">search racattack</span>
<span style="color: #888888;">nameserver 192.168.78.52</span>
<span style="color: #888888;">nameserver 192.168.78.51</span>
<span style="color: #888888;">nameserver 192.168.15.1</span>
</pre>
</div>
</div>
<div>
<br /></div>
</div>
<div>
<b><u>Conclusión</u></b></div>
<div>
En la 1a entrada, terminas la instalación de Virtualbox y del Sistema Operativo, en la siguiente entrada vamos a configurar el Sistema Operativo y configurar los DNS para poder instalar RAC en dos nodos.</div>
<div>
<br /></div>
<div>
En esta 2a entrada, terminas la configuración del DNS , así como la clonación de la segunda maquina virtual collabn1, para en la ultima parte estar listos para instalar los binarios de Grid Infrastructure y los binarios del RDBMS.</div>
Anonymoushttp://www.blogger.com/profile/16707526771327328274noreply@blogger.com0tag:blogger.com,1999:blog-4609531821681208136.post-76514805984728263492014-11-03T17:23:00.000-07:002014-11-03T17:23:03.731-07:00Oracle 12cR1 : RAC Attack a la Mexicana - Instalación de Virtualbox y OS <a href="https://en.wikibooks.org/wiki/RAC_Attack_-_Oracle_Cluster_Database_at_Home/RAC_Attack_12c" target="_blank">RAC Attack es un libro</a> que ha sido escrito por varias personas en el ámbito de Oracle y que tu eres libre de editar y contribuir, pero una de las quejas que existía es que no había una versión en español, y es por eso que estoy escribiendo esta serie de posts, en donde también los voy a hacer disponibles en el libro de RAC Attack.<br />
<br />
<b><u>Arquitectura</u></b><br />
<b><u><br /></u></b>
Con el fin de instalar un RAC completamente funcional, se requieren las siguientes direcciones IP:<br />
<br />
<ul>
<li>2 IPs públicas, una para cada nodo, para la interfaz primaria de red del sistema operativo </li>
<li>2 IPs públicas, una para cada nodo, para la IP virtual</li>
<li>3 IPs públicas, una para cada SCAN listener</li>
<li>2 IPs privadas, una para cada nodo, para el interconnect privado del clúster</li>
</ul>
<div>
Las direcciones públicas pertenecen a la red 192.178.78.0/24, y las direcciones privadas pertenecen a la red 172.16.100.0/24. </div>
<div>
<br /></div>
<div>
Al final, nuestras direcciones van a ser las siguientes:</div>
<div>
<ul>
<li><b>Dominio</b></li>
<ul>
<li><i>racattack</i></li>
</ul>
<li><b>Nodos Publicos</b></li>
<ul>
<li>192.168.78.51<span class="Apple-tab-span" style="white-space: pre;"> </span> <b>collabn1</b><span class="Apple-tab-span" style="white-space: pre;"> </span></li>
<li>192.168.78.52<span class="Apple-tab-span" style="white-space: pre;"> </span> <b>collabn2</b><span class="Apple-tab-span" style="white-space: pre;"> </span></li>
</ul>
<li><b>VIP</b> </li>
<ul>
<li>192.168.78.61<span class="Apple-tab-span" style="white-space: pre;"> </span> <b>collabn1-vip</b><span class="Apple-tab-span" style="white-space: pre;"> </span></li>
<li>192.168.78.62<span class="Apple-tab-span" style="white-space: pre;"> </span> <b>collabn2-vip</b><span class="Apple-tab-span" style="white-space: pre;"> </span></li>
</ul>
<li><b>Private Interconnect</b></li>
<ul>
<li>172.16.100.51<span class="Apple-tab-span" style="white-space: pre;"> </span> <b>collabn1-priv</b><span class="Apple-tab-span" style="white-space: pre;"> </span></li>
<li>172.16.100.52<span class="Apple-tab-span" style="white-space: pre;"> </span> <b>collabn2-priv</b><span class="Apple-tab-span" style="white-space: pre;"> </span></li>
</ul>
<li><b>SCAN Listener</b></li>
<ul>
<li>192.168.78.251<span class="Apple-tab-span" style="white-space: pre;"> </span> <b>collabn-cluster-scan</b><span class="Apple-tab-span" style="white-space: pre;"> </span></li>
<li>192.168.78.252<span class="Apple-tab-span" style="white-space: pre;"> </span> <b>collabn-cluster-scan</b><span class="Apple-tab-span" style="white-space: pre;"> </span></li>
<li>192.168.78.253<span class="Apple-tab-span" style="white-space: pre;"> </span> <b>collabn-cluster-scan</b><span class="Apple-tab-span" style="white-space: pre;"> </span></li>
</ul>
</ul>
</div>
<br />
<div>
Un ejemplo de como quedaría se muestra abajo: </div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-CN-302n4JHw/VFGJ9IC71pI/AAAAAAAAAug/1L78lPmi-KY/s1600/RA_Architecture_12c.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-CN-302n4JHw/VFGJ9IC71pI/AAAAAAAAAug/1L78lPmi-KY/s1600/RA_Architecture_12c.png" height="508" width="640" /></a></div>
<div>
<br /></div>
<b><u>Requisitos mínimos de hardware en tu Maquina Fisica</u></b><br />
<br />
<ul>
<li>CPU Moderno (cualquier laptops hecha despues del 2011 debe de estar ok)</li>
<li>8Gb de memoria</li>
<li>40Gb de disco libre</li>
<li>9Gb de disco para el Software</li>
<li>30Gb - 2VMs + 2 discos de ASM</li>
<li>Sistema Operativo </li>
<ul>
<li>Aunque el libro esta probado con Windows 64, en mi caso estoy usando MAC OSX 10.10</li>
<li>Windows 64bit (XP, Vista or 7) (Linux & Mac han sido probados)</li>
</ul>
</ul>
<b><u>Componentes de Software para la Instalacion de Linux en una Maquina Virtual</u></b><br />
<div>
<ul>
<li><a href="https://www.virtualbox.org/" target="_blank">VirtualBox</a></li>
<ul>
<li>4.3.18 ( Versiones de 4.2.12 hasta 4.2.18 han sido probadas en el libro)</li>
</ul>
<li>Cliente de SSH </li>
<ul>
<li>Cliente nativo de MAC/Linux ssh</li>
<li>Putty (Solamente si estas usando Windows)</li>
<ul>
<li><a href="http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe">http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe</a></li>
</ul>
</ul>
<li>VNC Viewer (solamente si estas usando Windows)</li>
<ul>
<li><a href="http://www.realvnc.com/download/get/1295/">http://www.realvnc.com/download/get/1295/</a></li>
</ul>
</ul>
<b><u>Software de Oracle</u></b></div>
<ul>
<li>Sistema Operativo Oracle Enterprise Linux 6.5</li>
<ul>
<li>Red Hat Enterprise Linux Server release 6.5 (Santiago) 3.8.13-16.2.1.el6uek.x86_64</li>
<li>Puede ser descargado en <a href="http://edelivery.oracle.com/linux/">http://edelivery.oracle.com/linux/</a> con tu cuenta de Oracle</li>
<li>En la pagina <i style="font-weight: bold;">Media Pack Search</i> selecciona :</li>
<ul>
<li>Product pack: <b><i>Oracle Linux</i></b></li>
<li>Platform: <b><i>x86 64 bit</i></b></li>
</ul>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-VviOaKwuhb4/VFGRwV9qfwI/AAAAAAAAAuw/xKDhZLdqlW4/s1600/2014-10-29_1917.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-VviOaKwuhb4/VFGRwV9qfwI/AAAAAAAAAuw/xKDhZLdqlW4/s1600/2014-10-29_1917.png" height="114" width="320" /></a></div>
<div>
<br />
<div>
<ul><ul><ul>
<li>Selecciona<i> <b>Oracle Linux 6 Update 5 (6.5.0) Media Pack for x86 64 bit</b></i></li>
</ul>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-fHseLvwXUPw/VFGSPmUC__I/AAAAAAAAAu4/-ZRKadr9GPI/s1600/2014-10-29_1919.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-fHseLvwXUPw/VFGSPmUC__I/AAAAAAAAAu4/-ZRKadr9GPI/s1600/2014-10-29_1919.png" height="25" width="400" /></a></div>
<div>
<ul><ul><ul>
<li>Una vez que le diste click, baja el que dice
<div class="p1">
<span class="s1"><b><i>Oracle Linux Release 6 Update 5 for x86_64 (64 Bit)</i></b></span></div>
</li>
</ul>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-FsxHXhA7t04/VFGS6wReuKI/AAAAAAAAAvE/5Ez59hdEcpM/s1600/2014-10-29_1921.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-FsxHXhA7t04/VFGS6wReuKI/AAAAAAAAAvE/5Ez59hdEcpM/s1600/2014-10-29_1921.png" height="27" width="400" /></a></div>
<div>
<ul><ul><ul>
<li>Una vez que se baje el archivo, renombralo a <i style="font-weight: bold;">linux_6_5.iso</i> para que lo puedas encontrar mas facil</li>
</ul>
</ul>
</ul>
</div>
</div>
</div>
</div>
<div>
<b><u>Oracle Grid Infrastructure y Database 12c (12.1.0.2)</u></b></div>
<div>
<ul>
<li>Ve a la pagina de OTN <a href="http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html">http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html</a> , acepta la licencia de OTN y una vez que la aceptes, dale click a <b><i>see all</i></b></li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-3QsuXQR8HJc/VFGUTUpXYbI/AAAAAAAAAvM/aFKuSLind_c/s1600/2014-10-29_1927.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-3QsuXQR8HJc/VFGUTUpXYbI/AAAAAAAAAvM/aFKuSLind_c/s1600/2014-10-29_1927.png" height="191" width="400" /></a></div>
</div>
<div>
<br />
<br />
<br />
<ul>
<li>Descarga los siguientes archivos</li>
<ul>
<li><b>Database</b> <b>12c 12.1.0.2</b></li>
<ul>
<li>linuxamd64_12c_database_1of2.zip (1,673,544,724 bytes) (cksum - 839029806)</li>
<li>linuxamd64_12c_database_2of2.zip (1,014,530,602 bytes) (cksum - 1187131466)</li>
</ul>
<li><b>Grid Infrastructure 12c 12.1.0.2</b></li>
<ul>
<li>linuxamd64_12c_grid_1of2.zip (1,747,043,545 bytes) (cksum - 1194876808)</li>
<li>linuxamd64_12c_grid_2of2.zip (646,972,897 bytes) (cksum - 2519919927)</li>
</ul>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-yX6n58Ucgpw/VFGVYm232mI/AAAAAAAAAvY/3NPvyn8smeY/s1600/2014-10-29_1930.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-yX6n58Ucgpw/VFGVYm232mI/AAAAAAAAAvY/3NPvyn8smeY/s1600/2014-10-29_1930.png" height="202" width="320" /></a></div>
<div>
<ul><ul><ul>
<li>Después de descomprimir los archivos, habrá dos carpetas: "<b><i>grid</i></b>" y "<b><i>database</i></b>" que contiene los archivos de instalación.</li>
</ul>
</ul>
</ul>
<div>
<b><u>Instalación de Virtualbox</u></b></div>
</div>
<div>
<br /></div>
<div>
La instalación de virtualbox me lo voy a saltar, ya que no tiene nada de ciencia pero puedes ver un ejemplo en la pagina de <a href="https://en.wikibooks.org/wiki/RAC_Attack_-_Oracle_Cluster_Database_at_Home/RAC_Attack_12c/VirtualBox_Setup" target="_blank">RAC Attack - VirtualBox Setup</a></div>
<div>
<br /></div>
<div>
<b><u>Configuración de red de VirtualBox</u></b></div>
<div>
<ul>
<li>Arranca Virtualbox </li>
<li>Agregar el adaptador <b><i>vboxnet0</i></b></li>
<ul>
<li>Desde la pantalla principal , selecciona <b><i>Virtualbox --> Preferences --> Network-->Host-only Networks-->Add host-only network</i></b></li>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-EYwuF8Fj6Qw/VFGZc9xewrI/AAAAAAAAAvg/N_evry-jE04/s1600/2014-10-29_1949.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-EYwuF8Fj6Qw/VFGZc9xewrI/AAAAAAAAAvg/N_evry-jE04/s1600/2014-10-29_1949.png" height="238" width="400" /></a></div>
<div>
<ul><ul>
<li>Una vez que agregaste el adaptador <i style="font-weight: bold;">vboxnet0 , </i>edita el adaptador dandole click en <b><i>Edit host-only network</i></b> y actualiza la configuración como se muestra y haz clic en <b><i>Ok</i></b> y cuando te salgas de la pantalla de edición, dale <b><i>Ok</i></b>. </li>
<ul>
<li>IPv4 Address: <b>192.168.78.1</b></li>
<li>IPv4 Network Mask: <b>255.255.255.0</b></li>
</ul>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-cCiinwoBVWw/VFGb5I8oPaI/AAAAAAAAAvo/fIeWD6z1MaA/s1600/2014-10-29_2000.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-cCiinwoBVWw/VFGb5I8oPaI/AAAAAAAAAvo/fIeWD6z1MaA/s1600/2014-10-29_2000.png" height="188" width="400" /></a></div>
<div>
<br /></div>
<div>
<b><u>Crea la Maquina Virtual <i>collabn1</i></u></b></div>
</div>
</div>
<div>
<ul>
<li>Crea una nueva carpeta llamada <b><i>racattack12c</i></b> en el lugar de tu elección que contendrá todos los discos virtuales.</li>
<li>En VirtualBox, desde la pantalla principal, haz clic en el icono <b><i>New</i></b> en la esquina superior izquierda.</li>
<ul>
<li>Ponle el nombre de <b><i>collabn1</i></b> para el nombre de la máquina virtual. Elije <b><i>Linux</i></b> para el tipo y <b><i>Oracle (64 bits)</i></b> para la versión y haga clic en <b><i>Next</i></b>.</li>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-bWuTiEmdS0c/VFGd5gSlNYI/AAAAAAAAAv0/tPvhP0LUe24/s1600/2014-10-29_2007.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-bWuTiEmdS0c/VFGd5gSlNYI/AAAAAAAAAv0/tPvhP0LUe24/s1600/2014-10-29_2007.png" height="247" width="400" /></a></div>
<div>
<ul>
<li>Memoria (MB)</li>
<ul>
<li>Escribe <b><i>3072</i></b> en el campo Tamaño y haga clic en <b><i>Next</i></b></li>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-VuLud4CLmB4/VFGexROyWII/AAAAAAAAAwE/VNc-yboHguI/s1600/RA-VBox_4214-Create_VM-VM_Memory.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-VuLud4CLmB4/VFGexROyWII/AAAAAAAAAwE/VNc-yboHguI/s1600/RA-VBox_4214-Create_VM-VM_Memory.png" height="357" width="400" /></a></div>
<div>
<ul>
<li>Disco</li>
<ul>
<li>Deja seleccionado <b><i>Create a virtual hard drive now</i></b> y dale clic a <b><i>Create</i></b></li>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-b8SkseryYAA/VFGfcLY2_kI/AAAAAAAAAwM/B8QQEFMFHZE/s1600/RA-VBox_4214-Create_VM-Create_Primary_Hard_Disk.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-b8SkseryYAA/VFGfcLY2_kI/AAAAAAAAAwM/B8QQEFMFHZE/s1600/RA-VBox_4214-Create_VM-Create_Primary_Hard_Disk.png" height="355" width="400" /></a></div>
<div>
<ul><ul>
<li>Deja seleccionado <b><i>VDI (VirtualBox Disk Image)</i></b> y dale clic a <b><i>Next</i></b></li>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-SvkVu5jC0ik/VFGfw1Hc6UI/AAAAAAAAAwU/8nFa36uOo-8/s1600/RA-VBox_4214-Create_VM-Primary_Hard_Disk_Type.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-SvkVu5jC0ik/VFGfw1Hc6UI/AAAAAAAAAwU/8nFa36uOo-8/s1600/RA-VBox_4214-Create_VM-Primary_Hard_Disk_Type.png" height="337" width="400" /></a></div>
<div>
<ul><ul>
<li>Deja seleccionado <b><i>Dynamically allocated</i></b> y dale clic a <b><i>Next</i></b></li>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-K7IEM6Wnhdo/VFGgHAoy1nI/AAAAAAAAAwc/2i_Z2AyhYmc/s1600/RA-VBox_4214-Create_VM-Storage_on_Drive.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-K7IEM6Wnhdo/VFGgHAoy1nI/AAAAAAAAAwc/2i_Z2AyhYmc/s1600/RA-VBox_4214-Create_VM-Storage_on_Drive.png" height="337" width="400" /></a></div>
<div>
<ul><ul>
<li>Escribe la ruta completa o elige a través del icono de exploración la ubicación para el archivo de disco que se creará.</li>
<ul>
<li><i>Nota .- Es mejor utilizar la carpeta <b>racattack12c</b> que se creo anteriormente para todos los discos virtuales</i></li>
<li>
<div class="p1">
<span class="s1">El archivo lo vamos a llamar <b><i>collabn1.vdi</i></b></span></div>
</li>
<li><div class="p1">
Escribe <b><i>30.00 GB</i></b> en el campo Tamaño y haz clic en <b><i>Create</i></b></div>
</li>
</ul>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-33XS6vS7FTA/VFGhMUPVx7I/AAAAAAAAAwo/kvBQEjWE2gY/s1600/RA-VBox_4214-Create_VM-File_Location_and_Size.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-33XS6vS7FTA/VFGhMUPVx7I/AAAAAAAAAwo/kvBQEjWE2gY/s1600/RA-VBox_4214-Create_VM-File_Location_and_Size.png" height="337" width="400" /></a></div>
<div>
<b><i><br /></i></b></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<b><u>Configuración de la Maquina Virtual <i>collabn1</i></u></b></div>
<div>
<ul>
<li>Desde la pantalla principal, selecciona la máquina virtual <b><i>collabn1</i></b> y haz clic en el icono <b><i>Settings</i></b> en la esquina superior izquierda.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-61KvGuR7LQM/VFGi-37cBeI/AAAAAAAAAww/oECmBJxRyQQ/s1600/RA-VBox_4214-Create_VM-Finished_VM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-61KvGuR7LQM/VFGi-37cBeI/AAAAAAAAAww/oECmBJxRyQQ/s1600/RA-VBox_4214-Create_VM-Finished_VM.png" height="285" width="400" /></a></div>
<div>
<ul>
<li>Abre el submenú de <b><i>Storage</i></b>. Elimina el disco <b><i>Empty </i></b>de el <b><i>IDE Controller</i></b>.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-NQIeVT8-KI8/VFGj6cNveUI/AAAAAAAAAw4/pH9kouhp99c/s1600/RA-VBox_4214-Create_VM-Delete_Empty_IDE.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-NQIeVT8-KI8/VFGj6cNveUI/AAAAAAAAAw4/pH9kouhp99c/s1600/RA-VBox_4214-Create_VM-Delete_Empty_IDE.png" height="298" width="400" /></a></div>
<div>
<ul>
<li>Haz clic en <i style="font-weight: bold;">Add CD/DVD Device </i>y agrega el archivo ISO <b><i>linux_6_5.iso</i></b></li>
<li>Abre el sub-menu <b><i>Network</i></b>. </li>
<li>Selecciona el <i style="font-weight: bold;">Adapter 1</i> , habilita el adaptador y cambia la selección de <i style="font-weight: bold;">Attached to: </i>a <b><i>Host-only Adapter</i></b></li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-FWNgUFuq9Vk/VFGmteDAHfI/AAAAAAAAAxU/A0zYINVyZMg/s1600/2014-10-29_2046.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-FWNgUFuq9Vk/VFGmteDAHfI/AAAAAAAAAxU/A0zYINVyZMg/s1600/2014-10-29_2046.png" height="320" width="400" /></a></div>
<div>
<ul>
<li>Selecciona el <i style="font-weight: bold;">Adapter 2</i> , habilita el adaptador y cambia la selección de <i style="font-weight: bold;">Attached to: </i>a <i style="font-weight: bold;">Internal Network, </i>cambia el nombre <b><i>rac-priv</i></b> en el campo <b><i>Name</i></b>.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-U7Yu9Qu5nj0/VFGnseRowgI/AAAAAAAAAxc/ngYB6LqapHI/s1600/2014-10-29_2050.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-U7Yu9Qu5nj0/VFGnseRowgI/AAAAAAAAAxc/ngYB6LqapHI/s1600/2014-10-29_2050.png" height="326" width="400" /></a></div>
<div>
<ul>
<li>Selecciona el <i style="font-weight: bold;">Adapter 3</i> , habilita el adaptador y cambia la selección de <i style="font-weight: bold;">Attached to: </i>a <i style="font-weight: bold;">NAT</i>.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-R706Ttk2vmg/VFGoD16QUwI/AAAAAAAAAxk/8mZWTJh1iPM/s1600/2014-10-29_2052.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-R706Ttk2vmg/VFGoD16QUwI/AAAAAAAAAxk/8mZWTJh1iPM/s1600/2014-10-29_2052.png" height="326" width="400" /></a></div>
<div>
<ul>
<li>Selecciona el <i style="font-weight: bold;">Adapter 4</i> , habilita el adaptador y cambia la selección de <i style="font-weight: bold;">Attached to: </i>a <i style="font-weight: bold;">Bridged Adapter, </i>asegurate que en el nombre, este seleccionado la tarjeta de red que tenga acceso a internet .</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-XnfAEYPXLZk/VFGowLZfYQI/AAAAAAAAAxw/prTA1Y8bpKY/s1600/2014-10-29_2054.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-XnfAEYPXLZk/VFGowLZfYQI/AAAAAAAAAxw/prTA1Y8bpKY/s1600/2014-10-29_2054.png" height="327" width="400" /></a></div>
<div>
<ul>
<li>Seleccione el tab de <b><i>Shared Folders</i></b>. Haz clic en Agregar carpeta compartida e introduce la ruta donde descargaste los archivos de instalación de Oracle y escribe un nombre para la carpeta, en mi caso le puse <i style="font-weight: bold;">RAC_12c </i>y dale clic en <b><i>OK</i></b> y de nuevo dale clic en <b><i>OK</i></b>.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-NYcz8hw3GEU/VFGqLeFu-BI/AAAAAAAAAx4/p55-5tHx_pg/s1600/2014-10-29_2101.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-NYcz8hw3GEU/VFGqLeFu-BI/AAAAAAAAAx4/p55-5tHx_pg/s1600/2014-10-29_2101.png" height="262" width="400" /></a></div>
<div>
<br /></div>
<div>
<u><b>Instalación de Sistema Operativo Linux 6.5 en la MV <i>collabn1</i></b></u></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<ul>
<li>En la pantalla principal de Virtualbox, dale clic a <i style="font-weight: bold;">Start </i>para arrancar la maquina virtual.</li>
<li>El instalador de Oracle Linux aparecerá automáticamente. Dale "<b><i>enter</i></b>" para comenzar la instalación</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-6Btw_B5cXbw/VFLX8LJzHtI/AAAAAAAAAyE/udb6pVOFtRA/s1600/RA-Oracle_Linux_6_64bit-Install_OS-boot_menu.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-6Btw_B5cXbw/VFLX8LJzHtI/AAAAAAAAAyE/udb6pVOFtRA/s1600/RA-Oracle_Linux_6_64bit-Install_OS-boot_menu.png" height="342" width="400" /></a></div>
<div>
<ul>
<li>Salta la prueba de CD pulsando la tecla de la flecha hacia la derecha y pulsa ENTER.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-p-7J0h9sYbQ/VFLYaUW-wBI/AAAAAAAAAyM/CUh241HnJto/s1600/RA-Oracle_Linux_6_64bit-Install_OS-media_test.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-p-7J0h9sYbQ/VFLYaUW-wBI/AAAAAAAAAyM/CUh241HnJto/s1600/RA-Oracle_Linux_6_64bit-Install_OS-media_test.PNG" height="260" width="400" /></a></div>
<div>
<ul>
<li>A partir de este momento puedes utilizar el ratón para navegar. Para desbloquear el ratón y el teclado de la máquina virtual, presione la tecla <b><i>command</i></b> o <b style="font-style: italic;">apple key (</b>la tecla <b><i>Ctrl</i></b><b style="font-style: italic;"> </b>derecha en Windows<b style="font-style: italic;">)</b>. Haz clic en <b><i>Next</i></b>.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-S0YA8luLWQs/VFLZN6giyvI/AAAAAAAAAyY/AlVr4xQ_bZ4/s1600/800px-RA-Oracle_Linux_6_64bit-Install_OS-splash_start.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-S0YA8luLWQs/VFLZN6giyvI/AAAAAAAAAyY/AlVr4xQ_bZ4/s1600/800px-RA-Oracle_Linux_6_64bit-Install_OS-splash_start.PNG" height="325" width="400" /></a></div>
<div>
<br /></div>
</div>
</div>
</div>
</div>
<div>
<ul>
<li>Deja <b><i>English</i></b> (<b><i>English</i></b>) seleccionados y haz clic en <b><i>Next</i></b>.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-1AEFhgxut20/VFLbJPL9eeI/AAAAAAAAAyk/Bs1XSNP_2TE/s1600/800px-RA-Oracle_Linux_6_64bit-Install_OS-choose_language.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-1AEFhgxut20/VFLbJPL9eeI/AAAAAAAAAyk/Bs1XSNP_2TE/s1600/800px-RA-Oracle_Linux_6_64bit-Install_OS-choose_language.PNG" height="325" width="400" /></a></div>
<div>
<ul>
<li>En mi caso yo deje deje <b><i>U.S. English</i></b> seleccionado y haz clic en <b><i>Next</i></b> (a menos que tengas otra distribución preferida de teclado).</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-H6P7e3PiCh4/VFLbySfpLPI/AAAAAAAAAys/jHceSkMfBEA/s1600/800px-RA-Oracle_Linux_6_64bit-Install_OS-choose_keyboard.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-H6P7e3PiCh4/VFLbySfpLPI/AAAAAAAAAys/jHceSkMfBEA/s1600/800px-RA-Oracle_Linux_6_64bit-Install_OS-choose_keyboard.PNG" height="325" width="400" /></a></div>
<div>
<ul>
<li>Deja <b><i>Basic Storage Devices</i></b> y dale clic a <b><i>Next</i></b>.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-7pj9tzxrVX4/VFLcaEdAMSI/AAAAAAAAAy0/Oa8iFluCYws/s1600/800px-RA-Oracle_Linux_6_64bit-Install_OS-install_device.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-7pj9tzxrVX4/VFLcaEdAMSI/AAAAAAAAAy0/Oa8iFluCYws/s1600/800px-RA-Oracle_Linux_6_64bit-Install_OS-install_device.PNG" height="325" width="400" /></a></div>
<div>
<ul>
<li>Dale clic a <b><i>Yes, discard any data</i></b> a la advertencia que dice T<b><i>he storage device below may contain data</i></b></li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-g1_7j-IA-Xg/VFLdENFgNqI/AAAAAAAAAy8/75HYqrNb4Wc/s1600/800px-RA-Oracle_Linux_6_64bit-Install_OS-storage_device_warning.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-g1_7j-IA-Xg/VFLdENFgNqI/AAAAAAAAAy8/75HYqrNb4Wc/s1600/800px-RA-Oracle_Linux_6_64bit-Install_OS-storage_device_warning.PNG" height="325" width="400" /></a></div>
<div>
<ul>
<li>En el campo <b><i>hostname</i></b>, pon el nombre del nodo <b><i>collabn1.racattack</i></b></li>
<ul>
<li>Configuración de red <b><i>eth0</i></b></li>
<ul>
<li>Dale clic a <b><i>Configure Network</i></b> en la esquina inferior izquierda.</li>
<li>Selecciona <b><i>System eth0</i></b> y dale clic al boton <b><i>Edit...</i></b></li>
<li>Dale clic al checkbox <b><i>Connect automatically</i></b></li>
<li>Dale clic a la pestaña <b><i>IPv4 Settings</i></b></li>
<li>Dale clic al cuadro desplegable <b><i>Method:</i></b> y selecciona <b><i>Manual</i></b></li>
<li>Dale clic al boton <b><i>Add</i></b> e introduce la dirección <b><i>192.168.78.51</i></b></li>
<li>Deja la Mascara de red (<b><i>Netmask</i></b>) a <b><i>24</i></b>.</li>
<li>En el campo de los <b><i>DNS servers:</i></b> introduce las direciones 192.168.78.51, 192.168.78.52.</li>
<li>En el campo <i style="font-weight: bold;">Search domains: </i>pon el nombre de <b><i>racattack</i></b></li>
<li>Dale clic al boton <b><i>Apply</i></b></li>
</ul>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-0_nWQdoB4bs/VFLfkZ20WCI/AAAAAAAAAzI/0mn_KCXhi5I/s1600/800px-RA-Oracle_Linux_6_64bit-Install_OS-eth0_ipv4_settings.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-0_nWQdoB4bs/VFLfkZ20WCI/AAAAAAAAAzI/0mn_KCXhi5I/s1600/800px-RA-Oracle_Linux_6_64bit-Install_OS-eth0_ipv4_settings.PNG" height="325" width="400" /></a></div>
<div>
<ul><ul>
<li>Configuración de red <b><i>eth1</i></b></li>
<ul>
<li>Selecciona <b><i>System eth1</i></b> y dale clic al boton <b><i>Edit...</i></b></li>
<li>Dale clic al checkbox <b><i>Connect automatically</i></b></li>
<li>Dale clic a la pestaña <b><i>IPv4 Settings</i></b></li>
<li>Dale clic al cuadro desplegable <b><i>Method:</i></b> y selecciona <b><i>Manual</i></b></li>
<li>Dale clic al boton <b><i>Add</i></b> e introduce la dirección <b><i>172.16.100.51</i></b></li>
<li>Deja la Mascara de red (<b><i>Netmask</i></b>) a <b><i>24</i></b>.</li>
<li>Dale clic al boton <b><i>Apply</i></b></li>
</ul>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-Xw_hQwoSWRQ/VFgEWhI6TdI/AAAAAAAAAzY/iWuE52YEgMM/s1600/800px-RA-Oracle_Linux_6_64bit-Install_OS-eth1_ipv4_settings.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-Xw_hQwoSWRQ/VFgEWhI6TdI/AAAAAAAAAzY/iWuE52YEgMM/s1600/800px-RA-Oracle_Linux_6_64bit-Install_OS-eth1_ipv4_settings.PNG" height="325" width="400" /></a></div>
<div>
<ul><ul>
<li>Configuración de red <b><i>eth2</i></b></li>
<ul>
<li>Selecciona <b><i>System eth1</i></b> y dale clic al boton <b><i>Edit...</i></b></li>
<li>Dale clic al checkbox <b><i>Connect automatically</i></b></li>
<li>Dale clic a la pestaña <b><i>IPv4 Settings</i></b></li>
<li>Dale clic al cuadro desplegable <b><i>Method:</i></b> y selecciona <b><i>Automatic (DHCP) addresses only</i></b></li>
<li>Dale clic al boton <b><i>Apply</i></b></li>
</ul>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-RzXWpMSmqe4/VFgEx6aiWdI/AAAAAAAAAzg/fLzKT2DF-sI/s1600/800px-RA-Oracle_Linux_6_64bit-Install_OS-eth2_ipv4_settings.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-RzXWpMSmqe4/VFgEx6aiWdI/AAAAAAAAAzg/fLzKT2DF-sI/s1600/800px-RA-Oracle_Linux_6_64bit-Install_OS-eth2_ipv4_settings.PNG" height="326" width="400" /></a></div>
<div>
<ul><ul>
<li>Configuración de red <b><i>eth3</i></b></li>
<ul>
<li>Selecciona <b><i>System eth1</i></b> y dale clic al boton <b><i>Edit...</i></b></li>
<li>Dale clic al checkbox <b><i>Connect automatically</i></b></li>
<li>Dale clic a la pestaña <b><i>IPv4 Settings</i></b></li>
<li>Dale clic al boton <i style="font-weight: bold;">Apply </i>y dale clic a <b style="font-style: italic;">Close </b>y después dale clic a <b style="font-style: italic;">Next</b></li>
</ul>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-kR6wxvw1w4c/VFgK7ACz-_I/AAAAAAAAA0Y/XO_TwVehdAI/s1600/2014-11-03_1707.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-kR6wxvw1w4c/VFgK7ACz-_I/AAAAAAAAA0Y/XO_TwVehdAI/s1600/2014-11-03_1707.png" height="298" width="400" /></a></div>
<div>
<b><i><br /></i></b></div>
<ul>
<li>Deja la configuración de zona horaria como están y haz clic en <b style="font-style: italic;">Next</b>.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-w30f6jAVMOs/VFgHC6YEIXI/AAAAAAAAAzs/Qi7-99VEupg/s1600/800px-RA-Oracle_Linux_6_64bit-Install_OS-time_zone.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-w30f6jAVMOs/VFgHC6YEIXI/AAAAAAAAAzs/Qi7-99VEupg/s1600/800px-RA-Oracle_Linux_6_64bit-Install_OS-time_zone.PNG" height="325" width="400" /></a></div>
<ul>
<li>Introduce la contraseña del usuario <b><i>root</i></b> como <b><i>racattack</i></b> y haga clic en <b style="font-style: italic;">Next</b></li>
<ul>
<li><b style="font-style: italic;">Nota.- </b>Dale clic a <b><i>Use Anyway</i></b> cuando se te advierte acerca de la contraseña débil.</li>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-NoSS9D05PtI/VFgH27uio0I/AAAAAAAAAz8/b5IKiZMrrTc/s1600/800px-RA-Oracle_Linux_6_64bit-Install_OS-root_password_confirm.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-NoSS9D05PtI/VFgH27uio0I/AAAAAAAAAz8/b5IKiZMrrTc/s1600/800px-RA-Oracle_Linux_6_64bit-Install_OS-root_password_confirm.PNG" height="325" width="400" /></a></div>
<div>
<ul>
<li>Dale clic a <b><i>Use All Space </i></b>para el tipo de instalación y haga clic en <b style="font-style: italic;">Next</b></li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-U6V3Eb3C4FU/VFgIJu9sfHI/AAAAAAAAA0E/Q7etRhO2_0g/s1600/800px-RA-Oracle_Linux_6_64bit-Install_OS-use_all_disk_space.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-U6V3Eb3C4FU/VFgIJu9sfHI/AAAAAAAAA0E/Q7etRhO2_0g/s1600/800px-RA-Oracle_Linux_6_64bit-Install_OS-use_all_disk_space.PNG" height="325" width="400" /></a></div>
<div>
<ul>
<li>Dale clic a <b><i>Write changes to dis</i></b>k cuando se te advierte acerca de <b><i>Writing storage configuration to disk</i></b></li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-CIRm5yV3Nv0/VFgIghVqHwI/AAAAAAAAA0M/DQW7MzQPXbs/s1600/800px-RA-Oracle_Linux_6_64bit-Install_OS-write_changes_to_disk_confirm.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-CIRm5yV3Nv0/VFgIghVqHwI/AAAAAAAAA0M/DQW7MzQPXbs/s1600/800px-RA-Oracle_Linux_6_64bit-Install_OS-write_changes_to_disk_confirm.PNG" height="325" width="400" /></a></div>
<div>
<ul>
<li>
<div class="p1">
<span class="s1">Deja a <b><i>Basic Server</i></b> como el tipo de instalación por defecto y selecciona <b><i>Customize Now</i></b> y dale clic a <b><i>Next</i></b>.</span></div>
</li>
</ul>
</div>
</div>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-dx3J-620Kw8/VFgLoTn2ktI/AAAAAAAAA0g/RrPdhkzyTuc/s1600/2014-11-03_1711.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-dx3J-620Kw8/VFgLoTn2ktI/AAAAAAAAA0g/RrPdhkzyTuc/s1600/2014-11-03_1711.png" height="297" width="400" /></a></div>
<div>
<ul>
<li>La siguiente pantalla te permite seleccionar los grupos de paquetes requeridos, y los paquetes individuales dentro de la sección de detalles, a continuación son los paquetes que yo instale para este ejercicio y una vez que finalizaste , dale clic a <b><i>Next</i></b>.</li>
<ul>
<li>Base System --> Base</li>
<li>Base System --> Compatibility libraries</li>
<li>Base System --> Console Internet Tools</li>
<li>Base System --> Debugging tools</li>
<li>Base System --> Hardware monitoring utilities</li>
<li>Base System --> Java Platform</li>
<li>Base System --> Large Systems Performance</li>
<li>Base System --> Network file system client</li>
<li>Base System --> Networking Tools</li>
<li>Base System --> Performance Tools</li>
<li>Base System --> Perl Support</li>
<li>Servers --> Server Platform</li>
<li>Servers --> System administration tools</li>
<li>Desktops --> Desktop</li>
<li>Desktops --> Desktop Platform</li>
<li>Desktops --> Fonts</li>
<li>Desktops --> General Purpose Desktop</li>
<li>Desktops --> Graphical Administration Tools</li>
<li>Desktops --> Input Methods</li>
<li>Desktops --> X Window System</li>
<li>Development --> Additional Development</li>
<li>Development --> Development Tools</li>
<li>Applications --> Internet Browser</li>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-u7gzhXRvedw/VFgO6DtpJxI/AAAAAAAAA0s/f6GCjULEWQs/s1600/2014-11-03_1724.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-u7gzhXRvedw/VFgO6DtpJxI/AAAAAAAAA0s/f6GCjULEWQs/s1600/2014-11-03_1724.png" height="300" width="400" /></a></div>
<div>
<ul>
<li>El sistema operativo se tomará un rato para instalar.</li>
<li>Cuando la instalación se haya completado, haga clic en <b><i>Reboot</i></b>.</li>
<ul>
<li>Al reiniciar sólo muestra una barra de progreso.</li>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-BBJEEpzesnQ/VFgP2dXOtqI/AAAAAAAAA08/auY5w_MY3WU/s1600/800px-RA-Oracle_Linux_6_64bit-Install_OS-complete_congrats.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-BBJEEpzesnQ/VFgP2dXOtqI/AAAAAAAAA08/auY5w_MY3WU/s1600/800px-RA-Oracle_Linux_6_64bit-Install_OS-complete_congrats.PNG" height="325" width="400" /></a></div>
<div>
<ul>
<li>En la pantalla de bienvenida "<b><i>Welcome</i></b>", haz clic en el botón "<b><i>Forward</i></b>".</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-sAoHhb22cig/VFgQxZKNTJI/AAAAAAAAA1I/vNieLJ3Mp9Q/s1600/2014-11-03_1730.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-sAoHhb22cig/VFgQxZKNTJI/AAAAAAAAA1I/vNieLJ3Mp9Q/s1600/2014-11-03_1730.jpg" height="300" width="400" /></a></div>
<div>
<ul>
<li>Acepta el acuerdo de licencia y haga clic en el botón "<b><i>Forward</i></b>".</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-Kk_94f34QFI/VFgRFdH9EbI/AAAAAAAAA1Q/OcTIjAY-TiM/s1600/2014-11-03_1731.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-Kk_94f34QFI/VFgRFdH9EbI/AAAAAAAAA1Q/OcTIjAY-TiM/s1600/2014-11-03_1731.jpg" height="300" width="400" /></a></div>
<div>
<ul>
<li>Elija la opción deseada de registro de ULN, haz clic en el botón "<b><i>Forward</i></b>". En este caso vamos a escoger que el registro lo dejamos a una fecha posterior.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-1RckuT1x1jI/VFgRjKkAK4I/AAAAAAAAA1Y/mWRN-oEPwsQ/s1600/2014-11-03_1732.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-1RckuT1x1jI/VFgRjKkAK4I/AAAAAAAAA1Y/mWRN-oEPwsQ/s1600/2014-11-03_1732.jpg" height="300" width="400" /></a></div>
<div>
<ul>
<li>Termina la instalación de actualizaciones de software haciendo clic en el botón "<b><i>Forward</i></b>".</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-vkrJ1MHrFx0/VFgR1ZH5VfI/AAAAAAAAA1g/BXQ-BYEalaM/s1600/2014-11-03_1733.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-vkrJ1MHrFx0/VFgR1ZH5VfI/AAAAAAAAA1g/BXQ-BYEalaM/s1600/2014-11-03_1733.jpg" height="300" width="400" /></a></div>
<div>
<ul>
<li>Introduce los datos de un usuario de sistema, en mi caso lo deje en blanco, ya que después voy a crear el usuario "<b><i>oracle</i></b>" con el instalador de yum y el paquete de preinstalación a continuación, haga clic en el botón "<b><i>Forward</i></b>".</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-gYI8rw5C6FA/VFgSuN82UNI/AAAAAAAAA1s/zv4T-tpdIq4/s1600/2014-11-03_1734.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-gYI8rw5C6FA/VFgSuN82UNI/AAAAAAAAA1s/zv4T-tpdIq4/s1600/2014-11-03_1734.png" height="374" width="400" /></a></div>
<div>
<ul>
<li>Ajusta la configuración de fecha y hora, si es necesario, y haga clic en el botón "<b><i>Forward</i></b>".</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-JzbEZhC1evM/VFgTC1Bvu4I/AAAAAAAAA10/9yaDeQKisdQ/s1600/2014-11-03_1735.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-JzbEZhC1evM/VFgTC1Bvu4I/AAAAAAAAA10/9yaDeQKisdQ/s1600/2014-11-03_1735.jpg" height="300" width="400" /></a></div>
<div>
<ul>
<li>Acepta la configuración predeterminada (<b><i>No Habilitada</i></b>) en la pantalla Kdump haciendo clic en el botón "<b><i>Finish</i></b>".</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-QLDPqx11VKY/VFgTgx30ACI/AAAAAAAAA18/F-3ajR6Irlo/s1600/2014-11-03_1736.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-QLDPqx11VKY/VFgTgx30ACI/AAAAAAAAA18/F-3ajR6Irlo/s1600/2014-11-03_1736.jpg" height="300" width="400" /></a></div>
<div>
<ul>
<li>Una vez que se abra tu sesión, selecciona <b><i>other...</i></b> y escribe <b><i>root</i></b> en el inicio de sesión y <b><i>racattack</i></b> como la contraseña.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-YNjGScZ4cUE/VFgZ9NWUcjI/AAAAAAAAA2M/PZVcpo3XICA/s1600/2014-11-03_1812.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-YNjGScZ4cUE/VFgZ9NWUcjI/AAAAAAAAA2M/PZVcpo3XICA/s1600/2014-11-03_1812.png" height="300" width="400" /></a></div>
<div>
<ul>
<li>Abre una terminal de bash dandole clic derecho a tu mouse y seleccionando <b><i>Open in Terminal</i></b></li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-YpSpLsQZjSA/VFgalatuVTI/AAAAAAAAA2U/6ZpqFB_fkrg/s1600/2014-11-03_1813.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-YpSpLsQZjSA/VFgalatuVTI/AAAAAAAAA2U/6ZpqFB_fkrg/s1600/2014-11-03_1813.png" height="281" width="400" /></a></div>
<div>
<br /></div>
<div>
<b><u>Conclusión</u></b></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
En esta entrada, terminas la instalación de Virtualbox y del Sistema Operativo, en la siguiente entrada vamos a configurar el Sistema Operativo y configurar los DNS para poder instalar RAC en dos nodos.</div>
<div>
<b><u><br /></u></b></div>
<ul></ul>
<ul></ul>
<ul></ul>
<ul></ul>
<ul></ul>
<ul></ul>
<ul></ul>
<ul></ul>
<ul></ul>
</div>
</div>
</div>
</div>
</div>
Anonymoushttp://www.blogger.com/profile/16707526771327328274noreply@blogger.com0tag:blogger.com,1999:blog-4609531821681208136.post-11191236151438240812014-10-13T13:29:00.001-06:002014-10-13T13:29:16.932-06:00MySQL : Instalando Percona Server 5.6 en RHEL 6.5Eitale ! Estoy aquí de vuelta con una nueva aventura en mi carrera, y debido a esto voy a estar investigando un poco más al mundo de MySQL.<br />
<br />
Para arrancar, me puse la tarea de instalar Percona Server 5.6, que es una variante de MySQL que trata de mantener toda la compatibilidad de Oracle MySQL, pero al mismo tiempo proporcionar un mejor rendimiento, o eso es lo que me han dicho :)<br />
<br />
Así que después de hacer una instalación del OS Red Hat Enterprise Linux 6.5, la primera cosa que hice fue configurar el repositorio de YUM para poder instalar Percona Server.<br />
<br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">[root<span style="color: #333333;">@</span>localhost <span style="color: #333333;">~</span>]<span style="color: #333333;">#</span> yum install http:<span style="color: #333333;">//</span>www.percona.com<span style="color: #333333;">/</span>downloads<span style="color: #333333;">/</span>percona<span style="color: #333333;">-</span>release<span style="color: #333333;">/</span>percona<span style="color: #333333;">-</span>release<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">0</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">1</span>.x86_64.rpm
Loaded plugins: refresh<span style="color: #333333;">-</span>packagekit, <span style="color: #008800; font-weight: bold;">security</span>
Setting up Install Process
percona<span style="color: #333333;">-</span>release<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">0</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">1</span>.x86_64.rpm <span style="color: #333333;">|</span> <span style="color: #0000dd; font-weight: bold;">6</span>.<span style="color: #0000dd; font-weight: bold;">1</span> kB <span style="color: #0000dd; font-weight: bold;">00</span>:<span style="color: #0000dd; font-weight: bold;">00</span>
Examining <span style="color: #333333;">/</span>var<span style="color: #333333;">/</span>tmp<span style="color: #333333;">/</span>yum<span style="color: #333333;">-</span>root<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">3</span>c6w0E<span style="color: #333333;">/</span>percona<span style="color: #333333;">-</span>release<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">0</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">1</span>.x86_64.rpm: percona<span style="color: #333333;">-</span>release<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">0</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">1</span>.x86_64
Marking <span style="color: #333333;">/</span>var<span style="color: #333333;">/</span>tmp<span style="color: #333333;">/</span>yum<span style="color: #333333;">-</span>root<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">3</span>c6w0E<span style="color: #333333;">/</span>percona<span style="color: #333333;">-</span>release<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">0</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">1</span>.x86_64.rpm <span style="color: #008800; font-weight: bold;">to</span> be installed
Resolving Dependencies
<span style="color: #888888;">--> Running transaction check</span>
<span style="color: #888888;">---> Package percona-release.x86_64 0:0.0-1 will be installed</span>
<span style="color: #888888;">--> Finished Dependency Resolution</span>
Dependencies Resolved
<span style="color: #333333;">==============================================================================================================================================</span>
Package Arch <span style="color: #008800; font-weight: bold;">Version</span> Repository <span style="color: #008800; font-weight: bold;">Size</span>
<span style="color: #333333;">==============================================================================================================================================</span>
Installing:
percona<span style="color: #333333;">-</span>release x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">0</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">1</span> <span style="color: #333333;">/</span>percona<span style="color: #333333;">-</span>release<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">0</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">1</span>.x86_64 <span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">6</span> k
Transaction Summary
<span style="color: #333333;">==============================================================================================================================================</span>
Install <span style="color: #0000dd; font-weight: bold;">1</span> Package(s)
Total <span style="color: #008800; font-weight: bold;">size</span>: <span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">6</span> k
Installed <span style="color: #008800; font-weight: bold;">size</span>: <span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">6</span> k
<span style="color: #008800; font-weight: bold;">Is</span> this ok [y<span style="color: #333333;">/</span>N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : percona<span style="color: #333333;">-</span>release<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">0</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">1</span>.x86_64 <span style="color: #0000dd; font-weight: bold;">1</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">1</span>
Verifying : percona<span style="color: #333333;">-</span>release<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">0</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">1</span>.x86_64 <span style="color: #0000dd; font-weight: bold;">1</span><span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">1</span>
Installed:
percona<span style="color: #333333;">-</span>release.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">0</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">1</span>
Complete<span style="color: #333333;">!</span>
</pre>
</div>
<br />
La próxima cosa que hice, fue tratar de hacer la instalación, como estaba marcado en la <a href="http://www.percona.com/doc/percona-server/5.6/installation.html">pagina de instalación de Percona</a>, pero para mi sorpresa, no pude ,ya que me tope con los siguientes errores marcados en rojo<br />
<br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">[root<span style="color: #333333;">@</span>localhost <span style="color: #333333;">~</span>]<span style="color: #333333;">#</span> yum install Percona<span style="color: #333333;">-</span>Server<span style="color: #333333;">-</span>client<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">56</span> Percona<span style="color: #333333;">-</span>Server<span style="color: #333333;">-</span>server<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">56</span>
Loaded plugins: refresh<span style="color: #333333;">-</span>packagekit, <span style="color: #008800; font-weight: bold;">security</span>
Setting up Install Process
Resolving Dependencies
<span style="color: #888888; font-size: 14px; line-height: 17.5px; text-align: justify;">--></span><span style="color: #888888;"> Running transaction check</span>
<span style="color: #888888; font-size: 14px; line-height: 17.5px; text-align: justify;">---></span><span style="color: #888888;"> Package Percona-Server-client-56.x86_64 0:5.6.20-rel68.0.el6 will be installed</span>
...
<span style="color: #888888; font-size: 14px; line-height: 17.5px; text-align: justify;">--></span><span style="color: #888888;"> Finished Dependency Resolution</span>
<span style="color: red;"><b>Error</b></span>: mysql conflicts <span style="color: #008800; font-weight: bold;">with</span> Percona<span style="color: #333333;">-</span>Server<span style="color: #333333;">-</span>client<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">56</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">5</span>.<span style="color: #0000dd; font-weight: bold;">6</span>.<span style="color: #0000dd; font-weight: bold;">20</span><span style="color: #333333;">-</span>rel68.<span style="color: #0000dd; font-weight: bold;">0</span>.el6.x86_64
<span style="color: red;"><b>Error</b></span>: mysql<span style="color: #333333;">-</span>server conflicts <span style="color: #008800; font-weight: bold;">with</span> Percona<span style="color: #333333;">-</span>Server<span style="color: #333333;">-</span>server<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">56</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">5</span>.<span style="color: #0000dd; font-weight: bold;">6</span>.<span style="color: #0000dd; font-weight: bold;">20</span><span style="color: #333333;">-</span>rel68.<span style="color: #0000dd; font-weight: bold;">0</span>.el6.x86_64
You could try <span style="color: #008800; font-weight: bold;">using</span> <span style="color: #888888;">--skip-broken to work around the problem</span>
You could try running: rpm <span style="color: #333333;">-</span>Va <span style="color: #888888;">--nofiles --nodigest</span>
</pre>
</div>
<br />
Después de investigar un poco, me di cuenta de que mi problema era que ya tenía algunas bibliotecas de MySQL instaladas, así que lo que debía de hacer era desintalarlas; También ya que este fue mi primer intento, no sé si esta fue la forma correcta de hacerlo o no, o si es que se puede hacer en un servidor de producción, por lo que debes de hacerlo con cuidado:<br />
<br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">[root<span style="color: #333333;">@</span>localhost <span style="color: #333333;">~</span>]<span style="color: #333333;">#</span> yum remove mysql<span style="color: #333333;">-</span>libs
Loaded plugins: refresh<span style="color: #333333;">-</span>packagekit, <span style="color: #008800; font-weight: bold;">security</span>
Setting up Remove Process
Resolving Dependencies
<span style="color: #888888;">--> Running transaction check</span>
<span style="color: #888888;">---> Package mysql-libs.x86_64 0:5.1.71-1.el6 will be erased</span>
<span style="color: #888888;">--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: mysql-server-5.1.71-1.el6.x86_64</span>
<span style="color: #888888;">--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: 2:postfix-2.6.6-2.2.el6_1.x86_64</span>
<span style="color: #888888;">--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: redland-1.0.7-11.el6.x86_64</span>
...
<span style="color: #888888;">---> Package crontabs.noarch 0:1.10-33.el6 will be erased</span>
<span style="color: #888888;">---> Package sysstat.x86_64 0:9.0.4-22.el6 will be erased</span>
<span style="color: #888888;">--> Finished Dependency Resolution</span>
Dependencies Resolved
<span style="color: #333333;">==============================================================================================================================================</span>
Package Arch <span style="color: #008800; font-weight: bold;">Version</span> Repository <span style="color: #008800; font-weight: bold;">Size</span>
<span style="color: #333333;">==============================================================================================================================================</span>
Removing:
mysql<span style="color: #333333;">-</span>libs x86_64 <span style="color: #0000dd; font-weight: bold;">5</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">71</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">1</span>.el6 <span style="color: #333333;">@</span>anaconda<span style="color: #333333;">-</span>OracleLinuxServer<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">201311252058</span>.x86_64<span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">6</span>.<span style="color: #0000dd; font-weight: bold;">5</span> <span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">0</span> M
Removing <span style="color: #008800; font-weight: bold;">for</span> dependencies:
akonadi x86_64 <span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">2</span>.<span style="color: #0000dd; font-weight: bold;">1</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">2</span>.el6 <span style="color: #333333;">@</span>anaconda<span style="color: #333333;">-</span>OracleLinuxServer<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">201311252058</span>.x86_64<span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">6</span>.<span style="color: #0000dd; font-weight: bold;">5</span> <span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">7</span> M
...
Removed:
mysql<span style="color: #333333;">-</span>libs.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">5</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">71</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">1</span>.el6
Dependency Removed:
akonadi.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">2</span>.<span style="color: #0000dd; font-weight: bold;">1</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">2</span>.el6 cronie.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">12</span>.el6 cronie<span style="color: #333333;">-</span>anacron.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">12</span>.el6
crontabs.noarch <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">10</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">33</span>.el6 kcoloredit.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">3</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">2</span>.el6 kdeaccessibility.x86_64 <span style="color: #0000dd; font-weight: bold;">1</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">5</span>.el6
kdeaccessibility<span style="color: #333333;">-</span>libs.x86_64 <span style="color: #0000dd; font-weight: bold;">1</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">5</span>.el6 kdeadmin.x86_64 <span style="color: #0000dd; font-weight: bold;">7</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">5</span>.<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.el6 kdeartwork<span style="color: #333333;">-</span>screensavers.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">7</span>.el6
kdebase.x86_64 <span style="color: #0000dd; font-weight: bold;">6</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">6</span>.<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.el6 kdebase<span style="color: #333333;">-</span>libs.x86_64 <span style="color: #0000dd; font-weight: bold;">6</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">6</span>.<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.el6 kdebase<span style="color: #333333;">-</span>runtime.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">9</span>.el6
kdebase<span style="color: #333333;">-</span>runtime<span style="color: #333333;">-</span>libs.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">9</span>.el6 kdebase<span style="color: #333333;">-</span>workspace.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">24</span>.<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.el6 kdebase<span style="color: #333333;">-</span>workspace<span style="color: #333333;">-</span>libs.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">24</span>.<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.el6
kdegames.x86_64 <span style="color: #0000dd; font-weight: bold;">6</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">5</span>.el6 kdegames<span style="color: #333333;">-</span>libs.x86_64 <span style="color: #0000dd; font-weight: bold;">6</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">5</span>.el6 kdegraphics.x86_64 <span style="color: #0000dd; font-weight: bold;">7</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">6</span>.el6
kdegraphics<span style="color: #333333;">-</span>libs.x86_64 <span style="color: #0000dd; font-weight: bold;">7</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">6</span>.el6 kdelibs.x86_64 <span style="color: #0000dd; font-weight: bold;">6</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">20</span>.el6_4.<span style="color: #0000dd; font-weight: bold;">1</span> kdelibs<span style="color: #333333;">-</span>experimental.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">3</span>.el6
kdemultimedia.x86_64 <span style="color: #0000dd; font-weight: bold;">6</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">3</span>.el6 kdemultimedia<span style="color: #333333;">-</span>libs.x86_64 <span style="color: #0000dd; font-weight: bold;">6</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">3</span>.el6 kdenetwork.x86_64 <span style="color: #0000dd; font-weight: bold;">7</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">11</span>.el6_0.<span style="color: #0000dd; font-weight: bold;">1</span>
kdenetwork<span style="color: #333333;">-</span>libs.x86_64 <span style="color: #0000dd; font-weight: bold;">7</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">11</span>.el6_0.<span style="color: #0000dd; font-weight: bold;">1</span> kdepim.x86_64 <span style="color: #0000dd; font-weight: bold;">6</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">6</span>.el6 kdepim<span style="color: #333333;">-</span>libs.x86_64 <span style="color: #0000dd; font-weight: bold;">6</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">6</span>.el6
kdepim<span style="color: #333333;">-</span>runtime.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">5</span>.el6 kdepim<span style="color: #333333;">-</span>runtime<span style="color: #333333;">-</span>libs.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">5</span>.el6 kdepimlibs.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">4</span>.el6
kdepimlibs<span style="color: #333333;">-</span>akonadi.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">4</span>.el6 kdeplasma<span style="color: #333333;">-</span>addons.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">5</span>.el6 kdeplasma<span style="color: #333333;">-</span>addons<span style="color: #333333;">-</span>libs.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">5</span>.el6
kdeutils.x86_64 <span style="color: #0000dd; font-weight: bold;">6</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">7</span>.el6 kdeutils<span style="color: #333333;">-</span>libs.x86_64 <span style="color: #0000dd; font-weight: bold;">6</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">7</span>.el6 kdm.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">24</span>.<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.el6
kiconedit.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">3</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">1</span>.el6 kio_sysinfo.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">20090930</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">1</span>.el6 kipi<span style="color: #333333;">-</span>plugins.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">8</span>.<span style="color: #0000dd; font-weight: bold;">0</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">5</span>.el6
kipi<span style="color: #333333;">-</span>plugins<span style="color: #333333;">-</span>libs.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">8</span>.<span style="color: #0000dd; font-weight: bold;">0</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">5</span>.el6 kmid.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">2</span>.<span style="color: #0000dd; font-weight: bold;">0</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">14</span>.<span style="color: #0000dd; font-weight: bold;">20080213</span>svn.el6 konq<span style="color: #333333;">-</span>plugins.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">3</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">5</span>.el6
ksig.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">1</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">10</span>.<span style="color: #0000dd; font-weight: bold;">20080213</span>.el6 ksshaskpass.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">5</span>.<span style="color: #0000dd; font-weight: bold;">1</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.el6 libcgroup.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">40</span>.rc1<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">5</span>.el6
mysql.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">5</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">71</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">1</span>.el6 mysql<span style="color: #333333;">-</span>server.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">5</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">71</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">1</span>.el6 numad.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">5</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">9</span>.<span style="color: #0000dd; font-weight: bold;">20130814</span>git.el6
perl<span style="color: #333333;">-</span>DBD<span style="color: #333333;">-</span>MySQL.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">013</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">3</span>.el6 <span style="color: #008800; font-weight: bold;">postfix</span>.x86_64 <span style="color: #0000dd; font-weight: bold;">2</span>:<span style="color: #0000dd; font-weight: bold;">2</span>.<span style="color: #0000dd; font-weight: bold;">6</span>.<span style="color: #0000dd; font-weight: bold;">6</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">2</span>.<span style="color: #0000dd; font-weight: bold;">2</span>.el6_1 qt<span style="color: #333333;">-</span>mysql.x86_64 <span style="color: #0000dd; font-weight: bold;">1</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">6</span>.<span style="color: #0000dd; font-weight: bold;">2</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">26</span>.el6_4
redhat<span style="color: #333333;">-</span>lsb.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">0</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">7</span>.<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.el6 redhat<span style="color: #333333;">-</span>lsb<span style="color: #333333;">-</span>compat.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">0</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">7</span>.<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.el6 redhat<span style="color: #333333;">-</span>lsb<span style="color: #333333;">-</span>core.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">0</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">7</span>.<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.el6
redhat<span style="color: #333333;">-</span>lsb<span style="color: #333333;">-</span>graphics.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">0</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">7</span>.<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.el6 redhat<span style="color: #333333;">-</span>lsb<span style="color: #333333;">-</span>printing.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">4</span>.<span style="color: #0000dd; font-weight: bold;">0</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">7</span>.<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.el6 redland.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">7</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">11</span>.el6
soprano.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">2</span>.<span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">1</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">2</span>.el6 sysstat.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">9</span>.<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">22</span>.el6
Complete<span style="color: #333333;">!</span>
</pre>
</div>
<br />
Ahora, lo que hice, sólo para estar seguro de no haber dañado lo que ya tenia instalado y de lo que había quitado, es hacer una actualización<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">[root<span style="color: #333333;">@</span>localhost <span style="color: #333333;">~</span>]<span style="color: #333333;">#</span> yum <span style="color: #008800; font-weight: bold;">update</span>
</pre>
</div>
<br />
Después de esto, ya estaba listo para hacer la instalación del Percona Server sin ningún problema<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">[root<span style="color: #333333;">@</span>localhost <span style="color: #333333;">~</span>]<span style="color: #333333;">#</span> yum install Percona<span style="color: #333333;">-</span>Server<span style="color: #333333;">-</span>client<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">56</span> Percona<span style="color: #333333;">-</span>Server<span style="color: #333333;">-</span>server<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">56</span>
Loaded plugins: refresh<span style="color: #333333;">-</span>packagekit, <span style="color: #008800; font-weight: bold;">security</span>
Setting up Install Process
Resolving Dependencies
<span style="color: #888888;">--> Running transaction check</span>
<span style="color: #888888;">---> Package Percona-Server-client-56.x86_64 0:5.6.20-rel68.0.el6 will be installed</span>
...
<span style="color: #333333;">===========================================================================================================================================</span>
Package Arch <span style="color: #008800; font-weight: bold;">Version</span> Repository <span style="color: #008800; font-weight: bold;">Size</span>
<span style="color: #333333;">===========================================================================================================================================</span>
Installing:
Percona<span style="color: #333333;">-</span>Server<span style="color: #333333;">-</span>client<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">56</span> x86_64 <span style="color: #0000dd; font-weight: bold;">5</span>.<span style="color: #0000dd; font-weight: bold;">6</span>.<span style="color: #0000dd; font-weight: bold;">20</span><span style="color: #333333;">-</span>rel68.<span style="color: #0000dd; font-weight: bold;">0</span>.el6 percona <span style="color: #0000dd; font-weight: bold;">6</span>.<span style="color: #0000dd; font-weight: bold;">4</span> M
Percona<span style="color: #333333;">-</span>Server<span style="color: #333333;">-</span>server<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">56</span> x86_64 <span style="color: #0000dd; font-weight: bold;">5</span>.<span style="color: #0000dd; font-weight: bold;">6</span>.<span style="color: #0000dd; font-weight: bold;">20</span><span style="color: #333333;">-</span>rel68.<span style="color: #0000dd; font-weight: bold;">0</span>.el6 percona <span style="color: #0000dd; font-weight: bold;">19</span> M
Installing <span style="color: #008800; font-weight: bold;">for</span> dependencies:
Percona<span style="color: #333333;">-</span>Server<span style="color: #333333;">-</span>shared<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">56</span> x86_64 <span style="color: #0000dd; font-weight: bold;">5</span>.<span style="color: #0000dd; font-weight: bold;">6</span>.<span style="color: #0000dd; font-weight: bold;">20</span><span style="color: #333333;">-</span>rel68.<span style="color: #0000dd; font-weight: bold;">0</span>.el6 percona <span style="color: #0000dd; font-weight: bold;">720</span> k
...
Installed:
Percona<span style="color: #333333;">-</span>Server<span style="color: #333333;">-</span>client<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">56</span>.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">5</span>.<span style="color: #0000dd; font-weight: bold;">6</span>.<span style="color: #0000dd; font-weight: bold;">20</span><span style="color: #333333;">-</span>rel68.<span style="color: #0000dd; font-weight: bold;">0</span>.el6 Percona<span style="color: #333333;">-</span>Server<span style="color: #333333;">-</span>server<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">56</span>.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">5</span>.<span style="color: #0000dd; font-weight: bold;">6</span>.<span style="color: #0000dd; font-weight: bold;">20</span><span style="color: #333333;">-</span>rel68.<span style="color: #0000dd; font-weight: bold;">0</span>.el6
Dependency Installed:
Percona<span style="color: #333333;">-</span>Server<span style="color: #333333;">-</span>shared<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">56</span>.x86_64 <span style="color: #0000dd; font-weight: bold;">0</span>:<span style="color: #0000dd; font-weight: bold;">5</span>.<span style="color: #0000dd; font-weight: bold;">6</span>.<span style="color: #0000dd; font-weight: bold;">20</span><span style="color: #333333;">-</span>rel68.<span style="color: #0000dd; font-weight: bold;">0</span>.el6
Complete<span style="color: #333333;">!</span>
</pre>
</div>
<br />
Lo que intenté hacer a continuación era iniciar una sesión, pero me enfrente a otro error<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">[root<span style="color: #333333;">@</span>localhost <span style="color: #333333;">~</span>]<span style="color: #333333;">#</span> mysql <span style="color: #333333;">-</span>u root <span style="color: #333333;">-</span>p
Enter password:
<span style="color: red;">ERROR <span style="font-weight: bold;">2002</span> (HY000):</span> Can<span style="background-color: #fff0f0;">'t connect to local MySQL server through socket '</span><span style="color: #333333;">/</span>var<span style="color: #333333;">/</span>lib<span style="color: #333333;">/</span>mysql<span style="color: #333333;">/</span>mysql.sock<span style="background-color: #ffaaaa; color: red;">'</span> (<span style="color: #0000dd; font-weight: bold;">2</span>)
</pre>
</div>
<br />
Así que ahora, y esto yo no lo sabía, es que el servicio tenia que ser iniciado, lo cual fue bastante simple<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">[root<span style="color: #333333;">@</span>localhost <span style="color: #333333;">~</span>]<span style="color: #333333;">#</span> service mysql <span style="color: #008800; font-weight: bold;">start</span>
Starting MySQL (Percona Server). SUCCESS<span style="color: #333333;">!</span>
</pre>
</div>
<br />
Sólo para estar del lado seguro, aseguré el ambiente como se recomienda<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">[root<span style="color: #333333;">@</span>localhost <span style="color: #333333;">~</span>]<span style="color: #333333;">#</span> mysql_secure_installation
NOTE: RUNNING <span style="color: #008800; font-weight: bold;">ALL</span> PARTS <span style="color: #008800; font-weight: bold;">OF</span> THIS SCRIPT <span style="color: #008800; font-weight: bold;">IS</span> RECOMMENDED <span style="color: #008800; font-weight: bold;">FOR</span> <span style="color: #008800; font-weight: bold;">ALL</span> MySQL
SERVERS <span style="color: #008800; font-weight: bold;">IN</span> PRODUCTION USE<span style="color: #333333;">!</span> PLEASE <span style="color: #008800; font-weight: bold;">READ</span> <span style="color: #008800; font-weight: bold;">EACH</span> STEP CAREFULLY<span style="color: #333333;">!</span>
<span style="color: #008800; font-weight: bold;">In</span> <span style="color: #008800; font-weight: bold;">order</span> <span style="color: #008800; font-weight: bold;">to</span> log <span style="color: #008800; font-weight: bold;">into</span> MySQL <span style="color: #008800; font-weight: bold;">to</span> secure it, we<span style="background-color: #fff0f0;">'ll need the current</span>
<span style="background-color: #fff0f0;">password for the root user. If you'</span>ve just installed MySQL, <span style="color: #008800; font-weight: bold;">and</span>
you haven<span style="background-color: #fff0f0;">'t set the root password yet, the password will be blank,</span>
<span style="background-color: #fff0f0;">so you should just press enter here.</span>
<span style="background-color: #fff0f0;">Enter current password for root (enter for none): </span>
<span style="background-color: #fff0f0;">OK, successfully used password, moving on...</span>
<span style="background-color: #fff0f0;">Setting the root password ensures that nobody can log into the MySQL</span>
<span style="background-color: #fff0f0;">root user without the proper authorisation.</span>
<span style="background-color: #fff0f0;">Set root password? [Y/n] y</span>
<span style="background-color: #fff0f0;">New password: </span>
<span style="background-color: #fff0f0;">Re-enter new password: </span>
<span style="background-color: #fff0f0;">Password updated successfully!</span>
<span style="background-color: #fff0f0;">Reloading privilege tables..</span>
<span style="background-color: #fff0f0;"> ... Success!</span>
<span style="background-color: #fff0f0;">By default, a MySQL installation has an anonymous user, allowing anyone</span>
<span style="background-color: #fff0f0;">to log into MySQL without having to have a user account created for</span>
<span style="background-color: #fff0f0;">them. This is intended only for testing, and to make the installation</span>
<span style="background-color: #fff0f0;">go a bit smoother. You should remove them before moving into a</span>
<span style="background-color: #fff0f0;">production environment.</span>
<span style="background-color: #fff0f0;">Remove anonymous users? [Y/n] y</span>
<span style="background-color: #fff0f0;"> ... Success!</span>
<span style="background-color: #fff0f0;">Normally, root should only be allowed to connect from '</span>localhost<span style="background-color: #fff0f0;">'. This</span>
<span style="background-color: #fff0f0;">ensures that someone cannot guess at the root password from the network.</span>
<span style="background-color: #fff0f0;">Disallow root login remotely? [Y/n] y</span>
<span style="background-color: #fff0f0;"> ... Success!</span>
<span style="background-color: #fff0f0;">By default, MySQL comes with a database named '</span>test<span style="background-color: #fff0f0;">' that anyone can</span>
<span style="background-color: #fff0f0;">access. This is also intended only for testing, and should be removed</span>
<span style="background-color: #fff0f0;">before moving into a production environment.</span>
<span style="background-color: #fff0f0;">Remove test database and access to it? [Y/n] n</span>
<span style="background-color: #fff0f0;"> ... skipping.</span>
<span style="background-color: #fff0f0;">Reloading the privilege tables will ensure that all changes made so far</span>
<span style="background-color: #fff0f0;">will take effect immediately.</span>
<span style="background-color: #fff0f0;">Reload privilege tables now? [Y/n] y</span>
<span style="background-color: #fff0f0;"> ... Success!</span>
<span style="background-color: #fff0f0;">All done! If you'</span>ve completed <span style="color: #008800; font-weight: bold;">all</span> <span style="color: #008800; font-weight: bold;">of</span> the above steps, your MySQL
installation should now be secure.
Thanks <span style="color: #008800; font-weight: bold;">for</span> <span style="color: #008800; font-weight: bold;">using</span> MySQL<span style="color: #333333;">!</span>
Cleaning up...
</pre>
</div>
<br />
Para terminar este ejercicio, cree un usuario administrador, y en el siguiente paso, traté de verificar que era capaz de iniciar una sesión<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">[oracle<span style="color: #333333;">@</span>localhost Desktop]<span style="background-color: #ffaaaa; color: red;">$</span> mysql <span style="color: #333333;">-</span>u root <span style="color: #333333;">-</span>p
Enter password:
Welcome <span style="color: #008800; font-weight: bold;">to</span> the MySQL monitor. Commands <span style="color: #008800; font-weight: bold;">end</span> <span style="color: #008800; font-weight: bold;">with</span> ; <span style="color: #008800; font-weight: bold;">or</span> <span style="background-color: #ffaaaa; color: red;">\</span><span style="color: #008800; font-weight: bold;">g</span>.
Your MySQL <span style="color: #008800; font-weight: bold;">connection</span> id <span style="color: #008800; font-weight: bold;">is</span> <span style="color: #0000dd; font-weight: bold;">12</span>
Server <span style="color: #008800; font-weight: bold;">version</span>: <span style="color: #0000dd; font-weight: bold;">5</span>.<span style="color: #0000dd; font-weight: bold;">6</span>.<span style="color: #0000dd; font-weight: bold;">20</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">68</span>.<span style="color: #0000dd; font-weight: bold;">0</span> Percona Server (GPL), Release <span style="color: #0000dd; font-weight: bold;">68</span>.<span style="color: #0000dd; font-weight: bold;">0</span>, Revision <span style="color: #0000dd; font-weight: bold;">656</span>
Copyright (<span style="color: #008800; font-weight: bold;">c</span>) <span style="color: #0000dd; font-weight: bold;">2009</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">2014</span> Percona LLC <span style="color: #008800; font-weight: bold;">and</span><span style="color: #333333;">/</span><span style="color: #008800; font-weight: bold;">or</span> its affiliates
Copyright (<span style="color: #008800; font-weight: bold;">c</span>) <span style="color: #0000dd; font-weight: bold;">2000</span>, <span style="color: #0000dd; font-weight: bold;">2014</span>, Oracle <span style="color: #008800; font-weight: bold;">and</span><span style="color: #333333;">/</span><span style="color: #008800; font-weight: bold;">or</span> its affiliates. <span style="color: #008800; font-weight: bold;">All</span> rights reserved.
Oracle <span style="color: #008800; font-weight: bold;">is</span> a registered trademark <span style="color: #008800; font-weight: bold;">of</span> Oracle Corporation <span style="color: #008800; font-weight: bold;">and</span><span style="color: #333333;">/</span><span style="color: #008800; font-weight: bold;">or</span> its
affiliates. Other <span style="color: #008800; font-weight: bold;">names</span> may be trademarks <span style="color: #008800; font-weight: bold;">of</span> their respective
owners.
<span style="color: #008800; font-weight: bold;">Type</span> <span style="background-color: #fff0f0;">'help;'</span> <span style="color: #008800; font-weight: bold;">or</span> <span style="background-color: #fff0f0;">'\h'</span> <span style="color: #008800; font-weight: bold;">for</span> help. <span style="color: #008800; font-weight: bold;">Type</span> <span style="background-color: #fff0f0;">'\c'</span> <span style="color: #008800; font-weight: bold;">to</span> clear the <span style="color: #008800; font-weight: bold;">current</span> <span style="color: #008800; font-weight: bold;">input</span> <span style="color: #008800; font-weight: bold;">statement</span>.
mysql<span style="color: #333333;">></span> FLUSH <span style="color: #008800; font-weight: bold;">PRIVILEGES</span>;
Query OK, <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #008800; font-weight: bold;">rows</span> affected (<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">00</span> sec)
mysql<span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">CREATE</span> <span style="color: #008800; font-weight: bold;">USER</span> <span style="background-color: #fff0f0;">'rene'</span><span style="color: #333333;">@</span><span style="background-color: #fff0f0;">'%'</span> IDENTIFIED <span style="color: #008800; font-weight: bold;">BY</span> <span style="background-color: #fff0f0;">'oracle'</span>;
Query OK, <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #008800; font-weight: bold;">rows</span> affected (<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">00</span> sec)
mysql<span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">grant</span> <span style="color: #008800; font-weight: bold;">all</span> <span style="color: #008800; font-weight: bold;">privileges</span> <span style="color: #008800; font-weight: bold;">on</span> <span style="color: #333333;">*</span>.<span style="color: #333333;">*</span> <span style="color: #008800; font-weight: bold;">to</span> <span style="background-color: #fff0f0;">'rene'</span><span style="color: #333333;">@</span><span style="background-color: #fff0f0;">'%'</span> <span style="color: #008800; font-weight: bold;">with</span> <span style="color: #008800; font-weight: bold;">grant</span> <span style="color: #008800; font-weight: bold;">option</span>;
Query OK, <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #008800; font-weight: bold;">rows</span> affected (<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">01</span> sec)
mysql<span style="color: #333333;">></span> FLUSH <span style="color: #008800; font-weight: bold;">PRIVILEGES</span>;
Query OK, <span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #008800; font-weight: bold;">rows</span> affected (<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">00</span> sec)
mysql<span style="color: #333333;">></span> exit
</pre>
</div>
<br />
Como puedes ver a continuación, tuve éxito en este ejercicio :)<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">[oracle<span style="color: #333333;">@</span>localhost Desktop]<span style="background-color: #ffaaaa; color: red;">$</span> mysql <span style="color: #333333;">-</span>u rene <span style="color: #333333;">-</span>p
Enter password:
Welcome <span style="color: #008800; font-weight: bold;">to</span> the MySQL monitor. Commands <span style="color: #008800; font-weight: bold;">end</span> <span style="color: #008800; font-weight: bold;">with</span> ; <span style="color: #008800; font-weight: bold;">or</span> <span style="background-color: #ffaaaa; color: red;">\</span><span style="color: #008800; font-weight: bold;">g</span>.
Your MySQL <span style="color: #008800; font-weight: bold;">connection</span> id <span style="color: #008800; font-weight: bold;">is</span> <span style="color: #0000dd; font-weight: bold;">13</span>
Server <span style="color: #008800; font-weight: bold;">version</span>: <span style="color: #0000dd; font-weight: bold;">5</span>.<span style="color: #0000dd; font-weight: bold;">6</span>.<span style="color: #0000dd; font-weight: bold;">20</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">68</span>.<span style="color: #0000dd; font-weight: bold;">0</span> Percona Server (GPL), Release <span style="color: #0000dd; font-weight: bold;">68</span>.<span style="color: #0000dd; font-weight: bold;">0</span>, Revision <span style="color: #0000dd; font-weight: bold;">656</span>
Copyright (<span style="color: #008800; font-weight: bold;">c</span>) <span style="color: #0000dd; font-weight: bold;">2009</span><span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">2014</span> Percona LLC <span style="color: #008800; font-weight: bold;">and</span><span style="color: #333333;">/</span><span style="color: #008800; font-weight: bold;">or</span> its affiliates
Copyright (<span style="color: #008800; font-weight: bold;">c</span>) <span style="color: #0000dd; font-weight: bold;">2000</span>, <span style="color: #0000dd; font-weight: bold;">2014</span>, Oracle <span style="color: #008800; font-weight: bold;">and</span><span style="color: #333333;">/</span><span style="color: #008800; font-weight: bold;">or</span> its affiliates. <span style="color: #008800; font-weight: bold;">All</span> rights reserved.
Oracle <span style="color: #008800; font-weight: bold;">is</span> a registered trademark <span style="color: #008800; font-weight: bold;">of</span> Oracle Corporation <span style="color: #008800; font-weight: bold;">and</span><span style="color: #333333;">/</span><span style="color: #008800; font-weight: bold;">or</span> its
affiliates. Other <span style="color: #008800; font-weight: bold;">names</span> may be trademarks <span style="color: #008800; font-weight: bold;">of</span> their respective
owners.
<span style="color: #008800; font-weight: bold;">Type</span> <span style="background-color: #fff0f0;">'help;'</span> <span style="color: #008800; font-weight: bold;">or</span> <span style="background-color: #fff0f0;">'\h'</span> <span style="color: #008800; font-weight: bold;">for</span> help. <span style="color: #008800; font-weight: bold;">Type</span> <span style="background-color: #fff0f0;">'\c'</span> <span style="color: #008800; font-weight: bold;">to</span> clear the <span style="color: #008800; font-weight: bold;">current</span> <span style="color: #008800; font-weight: bold;">input</span> <span style="color: #008800; font-weight: bold;">statement</span>.
mysql<span style="color: #333333; line-height: 125%;">></span><span style="line-height: 125%;"> </span><span style="color: #008800; font-weight: bold; line-height: 125%;">SELECT</span><span style="line-height: 125%;"> </span><span style="color: #008800; font-weight: bold; line-height: 125%;">user</span><span style="line-height: 125%;">, </span><span style="color: #008800; font-weight: bold; line-height: 125%;">host</span><span style="line-height: 125%;"> </span><span style="color: #008800; font-weight: bold; line-height: 125%;">FROM</span><span style="line-height: 125%;"> mysql.</span><span style="color: #008800; font-weight: bold; line-height: 125%;">user</span><span style="line-height: 125%;">;</span>
<span style="color: #333333;">+</span><span style="color: #888888;">------+-----------+</span>
<span style="color: #333333;">|</span> <span style="color: #008800; font-weight: bold;">user</span> <span style="color: #333333;">|</span> <span style="color: #008800; font-weight: bold;">host</span> <span style="color: #333333;">|</span>
<span style="color: #333333;">+</span><span style="color: #888888;">------+-----------+</span>
<span style="color: #333333;">|</span> rene <span style="color: #333333;">|</span> <span style="color: #333333;">%</span> <span style="color: #333333;">|</span>
<span style="color: #333333;">|</span> root <span style="color: #333333;">|</span> <span style="color: #0000dd; font-weight: bold;">127</span>.<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">1</span> <span style="color: #333333;">|</span>
<span style="color: #333333;">|</span> root <span style="color: #333333;">|</span> ::<span style="color: #0000dd; font-weight: bold;">1</span> <span style="color: #333333;">|</span>
<span style="color: #333333;">|</span> root <span style="color: #333333;">|</span> localhost <span style="color: #333333;">|</span>
<span style="color: #333333;">+</span><span style="color: #888888;">------+-----------+</span>
<span style="color: #0000dd; font-weight: bold;">4</span> <span style="color: #008800; font-weight: bold;">rows</span> <span style="color: #008800; font-weight: bold;">in</span> <span style="color: #008800; font-weight: bold;">set</span> (<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">00</span> sec)
mysql<span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">SELECT</span> <span style="color: #008800; font-weight: bold;">USER</span>(), <span style="color: #008800; font-weight: bold;">CURRENT_USER</span>();
<span style="color: #333333;">+</span><span style="color: #888888;">----------------+----------------+</span>
<span style="color: #333333;">|</span> <span style="color: #008800; font-weight: bold;">USER</span>() <span style="color: #333333;">|</span> <span style="color: #008800; font-weight: bold;">CURRENT_USER</span>() <span style="color: #333333;">|</span>
<span style="color: #333333;">+</span><span style="color: #888888;">----------------+----------------+</span>
<span style="color: #333333;">|</span> rene<span style="color: #333333;">@</span>localhost <span style="color: #333333;">|</span> rene<span style="color: #333333;">@%</span> <span style="color: #333333;">|</span>
<span style="color: #333333;">+</span><span style="color: #888888;">----------------+----------------+</span>
<span style="color: #0000dd; font-weight: bold;">1</span> <span style="color: #008800; font-weight: bold;">row</span> <span style="color: #008800; font-weight: bold;">in</span> <span style="color: #008800; font-weight: bold;">set</span> (<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">00</span> sec)
mysql<span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">SHOW</span> VARIABLES <span style="color: #008800; font-weight: bold;">LIKE</span> <span style="background-color: #fff0f0;">'skip_networking'</span>;
<span style="color: #333333;">+</span><span style="color: #888888;">-----------------+-------+</span>
<span style="color: #333333;">|</span> Variable_name <span style="color: #333333;">|</span> Value <span style="color: #333333;">|</span>
<span style="color: #333333;">+</span><span style="color: #888888;">-----------------+-------+</span>
<span style="color: #333333;">|</span> skip_networking <span style="color: #333333;">|</span> <span style="color: #008800; font-weight: bold;">OFF</span> <span style="color: #333333;">|</span>
<span style="color: #333333;">+</span><span style="color: #888888;">-----------------+-------+</span>
<span style="color: #0000dd; font-weight: bold;">1</span> <span style="color: #008800; font-weight: bold;">row</span> <span style="color: #008800; font-weight: bold;">in</span> <span style="color: #008800; font-weight: bold;">set</span> (<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">01</span> sec)
mysql<span style="color: #333333;">></span>
</pre>
</div>
<br />
<b>Conclusión</b><br />
<b><br /></b>
Esto fue sólo un pequeño ejercicio de mi instalación de Percona, aunque esto no significa que sea la correcta, si te puede ayudar en identificar los problemas a los que me enfrente cuando estaba tratando de instalar el servidor, espero que esto te sirva cuando vayas a hacer tu primera instalación.<br />
<br />Anonymoushttp://www.blogger.com/profile/16707526771327328274noreply@blogger.com0tag:blogger.com,1999:blog-4609531821681208136.post-52780139218027030662014-07-23T10:13:00.002-06:002014-07-23T10:13:27.894-06:00Oracle 12cR1 : Ya está aquí! Base de datos Oracle In-MemoryEl día de ayer oficialmente salió la ultima version de la Base de Datos 12c (12.1.0.2.0), y lo peculiar de esta versión, es la inclusion de una nueva tecnología de base de datos que implementa en memoria un formato de datos columnar ,para ofrecer un procesamiento de SQL extremadamente rápido.<br />
<br />
<a href="https://blogs.oracle.com/rantunez/entry/oracle_12cr1_ya_est%C3%A1_aqu%C3%AD">Continua leyendo en mi blog de Oracle.com ; Oracle 12cR1 : Ya está aquí! Base de datos Oracle In-Memory</a>Anonymoushttp://www.blogger.com/profile/16707526771327328274noreply@blogger.com0tag:blogger.com,1999:blog-4609531821681208136.post-52817179431863823742014-07-01T19:12:00.001-06:002014-07-01T19:13:54.194-06:00Presentando en Oracle Open World 2014Hola, si todo sale bien y si Dios quiere, una vez mas voy a tener la oportunidad de estar presente en el Oracle Open World 2014, este año voy a dar dos platicas<br />
<br />
Session ID: UGF1911<br />
Session Title: Oracle RMAN in Oracle Database 12c: The Next Generation<br />
<br />
Session ID: UGF1941<br />
Session Title: Getting Started with Database as a Service with Oracle Enterprise Manager 12c<br />
<div>
<br /></div>
<div>
Espero verte ahi, y de pasada en la bahia nadando en el <a href="https://www.facebook.com/events/460098430793716/">Oracle OpenWorld - San Francisco Bay Swim - Part III</a> con nuestros amigos blogeros :)</div>
<div>
<br /></div>
<div>
Te espero ahi!</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<img border="0" src="http://1.bp.blogspot.com/-invhNIPU3bQ/U7NcRQHApAI/AAAAAAAAAlQ/nbOpabOkPOU/s1600/oow-imspeaking-250x250-2225054.jpg" /></div>
<div>
<br /></div>
Anonymoushttp://www.blogger.com/profile/16707526771327328274noreply@blogger.com0tag:blogger.com,1999:blog-4609531821681208136.post-36202364787086858382014-06-25T10:32:00.005-06:002014-06-25T10:32:53.153-06:00Como crear un Guest LDOM en un SPARC-T5 con Solaris 11<div style="background-color: white; color: #555555; font-family: Arial, Verdana, sans-serif; font-size: 11.818181991577148px; line-height: 18px; margin-bottom: 10px; margin-top: 10px;">
Oracle VM Server para SPARC proporciona alta eficiencia para la virtualización de clase empresarial con los servidores SPARC que son compatibles, por ejemplo el T4 o T5 .</div>
<div style="background-color: white; color: #555555; font-family: Arial, Verdana, sans-serif; font-size: 11.818181991577148px; line-height: 18px; margin-bottom: 10px; margin-top: 10px;">
Para continuar, vamos a ver como es que podemos obtener esta virtualización ...</div>
<div style="background-color: white; margin-bottom: 10px; margin-top: 10px;">
<span style="color: #555555; font-family: Arial, Verdana, sans-serif;"><span style="font-size: 12px; line-height: 18px;"><a href="https://blogs.oracle.com/rantunez/entry/como_crear_un_guest_ldom">Como crear un Guest LDOM en un SPARC-T5 con Solaris 11</a></span></span></div>
Anonymoushttp://www.blogger.com/profile/16707526771327328274noreply@blogger.com0tag:blogger.com,1999:blog-4609531821681208136.post-80618626660701475812014-06-11T15:17:00.001-06:002014-06-12T05:12:29.861-06:00Clonación de una BD desde un snapshot de mi base de datos Standby FísicaEl otro día tuve un cliente que cuando estábamos planeando la solución de sus respaldos, el tenía la necesidad de tomar snapshots de su entorno productivo y de ese snapshot, clonar a sus entornos dev / QA.<br>
<br>
Así que a continuación es el resultado del planteamiento de esa solución, probablemente, no es nada que no hayas visto, pero si no , ahí te va.<br>
<br>
A pesar de que estoy usando el DG broker, con el propósito de este ejercicio, voy a hacerlo a través de la interfaz de sqlplus, pero quería mostrarte antes el entorno en el <i>DGMGRL</i>.<br>
<br>
Para ello, voy a utilizar 2 bases de datos, como mi standby a <i>orclstby</i> y para el duplicado a <i>orcltest</i><br>
<!-- HTML generated using hilite.me --><br>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">[oracle<span style="color: #333333;">@</span>adg12c <span style="color: #333333;">~</span>]<span style="background-color: #ffaaaa; color: red;">$</span> df <span style="color: #333333;">-</span>h
Filesystem <span style="color: #008800; font-weight: bold;">Size</span> Used Avail Use<span style="color: #333333;">%</span> Mounted <span style="color: #008800; font-weight: bold;">on</span>
<span style="color: #333333;">/</span>dev<span style="color: #333333;">/</span>mapper<span style="color: #333333;">/</span>VolGroup00<span style="color: #333333;">-</span>LogVol00
<span style="color: #0000dd; font-weight: bold;">26</span><span style="color: #008800; font-weight: bold;">G</span> <span style="color: #0000dd; font-weight: bold;">22</span><span style="color: #008800; font-weight: bold;">G</span> <span style="color: #0000dd; font-weight: bold;">3</span>.<span style="color: #0000dd; font-weight: bold;">3</span><span style="color: #008800; font-weight: bold;">G</span> <span style="color: #0000dd; font-weight: bold;">87</span><span style="color: #333333;">%</span> <span style="color: #333333;">/</span>
<span style="color: #333333;">/</span>dev<span style="color: #333333;">/</span>sda1 <span style="color: #0000dd; font-weight: bold;">99</span>M <span style="color: #0000dd; font-weight: bold;">24</span>M <span style="color: #0000dd; font-weight: bold;">71</span>M <span style="color: #0000dd; font-weight: bold;">25</span><span style="color: #333333;">%</span> <span style="color: #333333;">/</span>boot
tmpfs <span style="color: #0000dd; font-weight: bold;">2</span>.<span style="color: #0000dd; font-weight: bold;">0</span><span style="color: #008800; font-weight: bold;">G</span> <span style="color: #0000dd; font-weight: bold;">641</span>M <span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">4</span><span style="color: #008800; font-weight: bold;">G</span> <span style="color: #0000dd; font-weight: bold;">33</span><span style="color: #333333;">%</span> <span style="color: #333333;">/</span>dev<span style="color: #333333;">/</span>shm
<span style="color: #333333;">/</span>dev<span style="color: #333333;">/</span>sdb1 <span style="color: #0000dd; font-weight: bold;">12</span><span style="color: #008800; font-weight: bold;">G</span> <span style="color: #0000dd; font-weight: bold;">159</span>M <span style="color: #0000dd; font-weight: bold;">12</span><span style="color: #008800; font-weight: bold;">G</span> <span style="color: #0000dd; font-weight: bold;">2</span><span style="color: #333333;">%</span> <span style="color: #333333;">/</span>u02
[oracle<span style="color: #333333;">@</span>adg12c <span style="color: #333333;">~</span>]<span style="background-color: #ffaaaa; color: red;">$</span> . oraenv
ORACLE_SID <span style="color: #333333;">=</span> [oracle] <span style="color: #333333;">?</span> orcl
The Oracle base has been <span style="color: #008800; font-weight: bold;">set</span> <span style="color: #008800; font-weight: bold;">to</span> <span style="color: #333333;">/</span>u01<span style="color: #333333;">/</span>app<span style="color: #333333;">/</span>oracle
[oracle<span style="color: #333333;">@</span>adg12c <span style="color: #333333;">~</span>]<span style="background-color: #ffaaaa; color: red;">$</span> dgmgrl
DGMGRL <span style="color: #008800; font-weight: bold;">for</span> Linux: <span style="color: #008800; font-weight: bold;">Version</span> <span style="color: #0000dd; font-weight: bold;">12</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #333333;">-</span> <span style="color: #0000dd; font-weight: bold;">64</span><span style="color: #007020;">bit</span> Production
Copyright (<span style="color: #008800; font-weight: bold;">c</span>) <span style="color: #0000dd; font-weight: bold;">2000</span>, <span style="color: #0000dd; font-weight: bold;">2012</span>, Oracle. <span style="color: #008800; font-weight: bold;">All</span> rights reserved.
Welcome <span style="color: #008800; font-weight: bold;">to</span> DGMGRL, <span style="color: #008800; font-weight: bold;">type</span> <span style="color: #aa6600;">"help"</span> <span style="color: #008800; font-weight: bold;">for</span> information.
DGMGRL<span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">connect</span> sys<span style="color: #333333;">/</span>oracle
Connected <span style="color: #008800; font-weight: bold;">as</span> SYSDG.
DGMGRL<span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">show</span> configuration
Configuration <span style="color: #333333;">-</span> DGCONFIG
Protection <span style="color: #008800; font-weight: bold;">Mode</span>: MaxPerformance
Databases:
orcl <span style="color: #333333;">-</span> <span style="color: #008800; font-weight: bold;">Primary</span> <span style="color: #008800; font-weight: bold;">database</span>
farsync <span style="color: #333333;">-</span> Far Sync
orclstby <span style="color: #333333;">-</span> Physical standby <span style="color: #008800; font-weight: bold;">database</span>
farsync2 <span style="color: #333333;">-</span> Far Sync (inactive)
Fast<span style="color: #333333;">-</span><span style="color: #008800; font-weight: bold;">Start</span> Failover: DISABLED
Configuration Status:
SUCCESS
DGMGRL<span style="color: #333333;">></span> exit
</pre>
</div>
<br>
Para que esto funcione, y no tener ningún problema, hay que asegurarse de que el Standby DB sea consistente, y para ello hay que detener la aplicación de redo en el entorno de DG para la que el snapshot pueda suceder . También detuve la BD standby, a pesar de que eso no es necesario.<br>
<br>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">[oracle<span style="color: #333333;">@</span>adg12c <span style="color: #333333;">~</span>]<span style="background-color: #ffaaaa; color: red;">$</span> . oraenv
ORACLE_SID <span style="color: #333333;">=</span> [orcl] <span style="color: #333333;">?</span> orclstby
The Oracle base has been <span style="color: #008800; font-weight: bold;">set</span> <span style="color: #008800; font-weight: bold;">to</span> <span style="color: #333333;">/</span>u01<span style="color: #333333;">/</span>app<span style="color: #333333;">/</span>oracle
[oracle<span style="color: #333333;">@</span>adg12c <span style="color: #333333;">~</span>]<span style="background-color: #ffaaaa; color: red;">$</span> sqlplus
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">*</span>Plus: Release <span style="color: #0000dd; font-weight: bold;">12</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">0</span> Production <span style="color: #008800; font-weight: bold;">on</span> Wed Jun <span style="color: #0000dd; font-weight: bold;">11</span> <span style="color: #0000dd; font-weight: bold;">17</span>:<span style="color: #0000dd; font-weight: bold;">49</span>:<span style="color: #0000dd; font-weight: bold;">05</span> <span style="color: #0000dd; font-weight: bold;">2014</span>
Copyright (<span style="color: #008800; font-weight: bold;">c</span>) <span style="color: #0000dd; font-weight: bold;">1982</span>, <span style="color: #0000dd; font-weight: bold;">2013</span>, Oracle. <span style="color: #008800; font-weight: bold;">All</span> rights reserved.
Enter <span style="color: #008800; font-weight: bold;">user</span><span style="color: #333333;">-</span>name: <span style="color: #333333;">/</span><span style="color: #008800; font-weight: bold;">as</span> sysdba
Connected <span style="color: #008800; font-weight: bold;">to</span>:
Oracle <span style="color: #008800; font-weight: bold;">Database</span> <span style="color: #0000dd; font-weight: bold;">12</span><span style="color: #008800; font-weight: bold;">c</span> Enterprise Edition Release <span style="color: #0000dd; font-weight: bold;">12</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">0</span> <span style="color: #333333;">-</span> <span style="color: #0000dd; font-weight: bold;">64</span><span style="color: #007020;">bit</span> Production
<span style="color: #008800; font-weight: bold;">With</span> the Partitioning, OLAP, Advanced Analytics <span style="color: #008800; font-weight: bold;">and</span> <span style="color: #007020;">Real</span> Application Testing <span style="color: #008800; font-weight: bold;">options</span>
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">ALTER</span> <span style="color: #008800; font-weight: bold;">DATABASE</span> RECOVER MANAGED STANDBY <span style="color: #008800; font-weight: bold;">DATABASE</span> CANCEL;
<span style="color: #008800; font-weight: bold;">Database</span> altered.
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> shutdown <span style="color: #008800; font-weight: bold;">immediate</span>
<span style="color: #008800; font-weight: bold;">Database</span> closed.
<span style="color: #008800; font-weight: bold;">Database</span> dismounted.
ORACLE instance shut down.
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> exit
</pre>
</div>
<br>
El snapshot se toma durante este proceso, y para este ejercicio, el resultado del snapshot fue puesto en el siguiente directorio <i>/u02/app/oracle/oradata/orcltest/</i>, en el mismo servidor, pero este se puede poner en otro servidor. Puedes emular esto con un scp (<i>scp -r /u01/app/oracle/oradata/orclstby/ /u02/app/oracle/oradata/orcltest/</i>)<br>
<!-- HTML generated using hilite.me --><br>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">[oracle<span style="color: #333333;">@</span>adg12c orclstby]<span style="background-color: #ffaaaa; color: red;">$</span> cd <span style="color: #333333;">/</span>u02<span style="color: #333333;">/</span>app<span style="color: #333333;">/</span>oracle<span style="color: #333333;">/</span>oradata<span style="color: #333333;">/</span>orcltest<span style="color: #333333;">/</span>
[oracle<span style="color: #333333;">@</span>adg12c orcltest]<span style="background-color: #ffaaaa; color: red;">$</span> ls
orclstby
[oracle<span style="color: #333333;">@</span>adg12c orcltest]<span style="background-color: #ffaaaa; color: red;">$</span> cd orclstby
[oracle<span style="color: #333333;">@</span>adg12c orclstby]<span style="background-color: #ffaaaa; color: red;">$</span> ls
control01.ctl ORCLSTBY redo01.log redo03.log srl02.log srl04.log system01.dbf undotbs01.dbf
orcl_pdb pdbseed redo02.log srl01.log srl03.log sysaux01.dbf temp01.dbf users01.dbf
</pre>
</div>
<br>
También una vez que el snapshot ha terminado, arrancamos la BD Standby <i>orclstby. </i><br>
<!-- HTML generated using hilite.me --><br>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">[oracle<span style="color: #333333;">@</span>adg12c orclstby]<span style="background-color: #ffaaaa; color: red;">$</span> . oraenv
ORACLE_SID <span style="color: #333333;">=</span> [farsync2] <span style="color: #333333;">?</span> orclstby
The Oracle base remains unchanged <span style="color: #008800; font-weight: bold;">with</span> value <span style="color: #333333;">/</span>u01<span style="color: #333333;">/</span>app<span style="color: #333333;">/</span>oracle
[oracle<span style="color: #333333;">@</span>adg12c orclstby]<span style="background-color: #ffaaaa; color: red;">$</span> sqlplus
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">*</span>Plus: Release <span style="color: #0000dd; font-weight: bold;">12</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">0</span> Production <span style="color: #008800; font-weight: bold;">on</span> Wed Jun <span style="color: #0000dd; font-weight: bold;">11</span> <span style="color: #0000dd; font-weight: bold;">18</span>:<span style="color: #0000dd; font-weight: bold;">43</span>:<span style="color: #0000dd; font-weight: bold;">18</span> <span style="color: #0000dd; font-weight: bold;">2014</span>
Copyright (<span style="color: #008800; font-weight: bold;">c</span>) <span style="color: #0000dd; font-weight: bold;">1982</span>, <span style="color: #0000dd; font-weight: bold;">2013</span>, Oracle. <span style="color: #008800; font-weight: bold;">All</span> rights reserved.
Enter <span style="color: #008800; font-weight: bold;">user</span><span style="color: #333333;">-</span>name: <span style="color: #333333;">/</span><span style="color: #008800; font-weight: bold;">as</span> sysdba
Connected <span style="color: #008800; font-weight: bold;">to</span> an idle instance.
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> startup mount
ORACLE instance started.
Total <span style="color: #008800; font-weight: bold;">System</span> <span style="color: #008800; font-weight: bold;">Global</span> Area <span style="color: #0000dd; font-weight: bold;"><a href="tel:409194496" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="0">409194496</a></span> bytes
Fixed <span style="color: #008800; font-weight: bold;">Size</span> <span style="color: #0000dd; font-weight: bold;"><a href="tel:2288968" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="1">2288968</a></span> bytes
<span style="color: #008800; font-weight: bold;">Variable</span> <span style="color: #008800; font-weight: bold;">Size</span> <span style="color: #0000dd; font-weight: bold;"><a href="tel:318767800" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="2">318767800</a></span> bytes
<span style="color: #008800; font-weight: bold;">Database</span> Buffers <span style="color: #0000dd; font-weight: bold;"><a href="tel:79691776" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="3">79691776</a></span> bytes
Redo Buffers <span style="color: #0000dd; font-weight: bold;"><a href="tel:8445952" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="4">8445952</a></span> bytes
<span style="color: #008800; font-weight: bold;">Database</span> mounted.
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">ALTER</span> <span style="color: #008800; font-weight: bold;">DATABASE</span> RECOVER MANAGED STANDBY <span style="color: #008800; font-weight: bold;">DATABASE</span> <span style="color: #008800; font-weight: bold;">DISCONNECT</span> <span style="color: #008800; font-weight: bold;">FROM</span> <span style="color: #008800; font-weight: bold;">SESSION</span>;
<span style="color: #008800; font-weight: bold;">Database</span> altered.
</pre>
</div>
<br>
Así que ahora el siguiente paso, es crear un pfile para la base de datos <i>orcltest, </i>aquí también hay que cambiar la locación de los archivos correspondientes a la nueva ubicación.<br>
<!-- HTML generated using hilite.me --><br>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">[oracle<span style="color: #333333;">@</span>adg12c orclstby]<span style="background-color: #ffaaaa; color: red;">$</span> cat <span style="color: #333333;">/</span>tmp<span style="color: #333333;">/</span>initorcltest.ora
<span style="color: #333333;">*</span>.archive_lag_target<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>
<span style="color: #333333;">*</span>.audit_file_dest<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'/u02/app/oracle/admin/orcl/adump'</span>
<span style="color: #333333;">*</span>.audit_trail<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'db'</span>
<span style="color: #333333;">*</span>.compatible<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'12.1.0.0.0'</span>
<span style="color: #333333;">*</span>.control_files<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'/u02/app/oracle/oradata/orcltest/orclstby/control01.ctl'</span>,<span style="background-color: #fff0f0;">'/u02/app/oracle/oradata/orcltest/orclstby/control02.ctl'</span>
<span style="color: #333333;">*</span>.db_block_size<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">8192</span>
<span style="color: #333333;">*</span>.db_domain<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'oracle.com'</span>
<span style="color: #333333;">*</span>.db_name<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'orcltest'</span>
<span style="color: #333333;">*</span>.db_recovery_file_dest<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'/u02/app/oracle/recovery_area'</span>
<span style="color: #333333;">*</span>.db_recovery_file_dest_size<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;"><a href="tel:5368709120" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="6">5368709120</a></span>
<span style="color: #333333;">*</span>.dg_broker_start<span style="color: #333333;">=</span><span style="color: #008800; font-weight: bold;">TRUE</span>
<span style="color: #333333;">*</span>.diagnostic_dest<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'/u02/app/oracle'</span>
<span style="color: #333333;">*</span>.dispatchers<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'(PROTOCOL=TCP) (SERVICE=orclXDB)'</span>
<span style="color: #333333;">*</span>.enable_pluggable_database<span style="color: #333333;">=</span><span style="color: #008800; font-weight: bold;">true</span>
<span style="color: #333333;">*</span>.log_archive_dest_1<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'LOCATION=USE_DB_RECOVERY_FILE_DEST'</span>
orcl.log_archive_format<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'%t_%s_%r.dbf'</span>
<span style="color: #333333;">*</span>.log_archive_max_processes<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">4</span>
<span style="color: #333333;">*</span>.log_archive_min_succeed_dest<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">1</span>
orcl.log_archive_trace<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>
<span style="color: #333333;">*</span>.memory_target<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">390</span>m
<span style="color: #333333;">*</span>.open_cursors<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">300</span>
<span style="color: #333333;">*</span>.processes<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">300</span>
<span style="color: #333333;">*</span>.remote_login_passwordfile<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'EXCLUSIVE'</span>
<span style="color: #333333;">*</span>.undo_tablespace<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'UNDOTBS1'</span>
[oracle<span style="color: #333333;">@</span>adg12c orclstby]<span style="background-color: #ffaaaa; color: red;">$</span> . oraenv
ORACLE_SID <span style="color: #333333;">=</span> [orclstby] <span style="color: #333333;">?</span> orcltest
ORACLE_HOME <span style="color: #333333;">=</span> [<span style="color: #333333;">/</span>home<span style="color: #333333;">/</span>oracle] <span style="color: #333333;">?</span> <span style="color: #333333;">/</span>u01<span style="color: #333333;">/</span>app<span style="color: #333333;">/</span>oracle<span style="color: #333333;">/</span>product<span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">12</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">0</span><span style="color: #333333;">/</span>dbhome_1
The Oracle base remains unchanged <span style="color: #008800; font-weight: bold;">with</span> value <span style="color: #333333;">/</span>u01<span style="color: #333333;">/</span>app<span style="color: #333333;">/</span>oracle
[oracle<span style="color: #333333;">@</span>adg12c orclstby]<span style="background-color: #ffaaaa; color: red;">$</span> sqlplus
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">*</span>Plus: Release <span style="color: #0000dd; font-weight: bold;">12</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">0</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">0</span> Production <span style="color: #008800; font-weight: bold;">on</span> Wed Jun <span style="color: #0000dd; font-weight: bold;">11</span> <span style="color: #0000dd; font-weight: bold;">18</span>:<span style="color: #0000dd; font-weight: bold;">30</span>:<span style="color: #0000dd; font-weight: bold;">28</span> <span style="color: #0000dd; font-weight: bold;">2014</span>
Copyright (<span style="color: #008800; font-weight: bold;">c</span>) <span style="color: #0000dd; font-weight: bold;">1982</span>, <span style="color: #0000dd; font-weight: bold;">2013</span>, Oracle. <span style="color: #008800; font-weight: bold;">All</span> rights reserved.
Enter <span style="color: #008800; font-weight: bold;">user</span><span style="color: #333333;">-</span>name: <span style="color: #333333;">/</span><span style="color: #008800; font-weight: bold;">as</span> sysdba
Connected <span style="color: #008800; font-weight: bold;">to</span> an idle instance.
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> startup nomount pfile<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'/tmp/initorcltest.ora'</span>;
ORACLE instance started.
Total <span style="color: #008800; font-weight: bold;">System</span> <span style="color: #008800; font-weight: bold;">Global</span> Area <span style="color: #0000dd; font-weight: bold;"><a href="tel:409194496" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="7">409194496</a></span> bytes
Fixed <span style="color: #008800; font-weight: bold;">Size</span> <span style="color: #0000dd; font-weight: bold;"><a href="tel:2288968" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="8">2288968</a></span> bytes
<span style="color: #008800; font-weight: bold;">Variable</span> <span style="color: #008800; font-weight: bold;">Size</span> <span style="color: #0000dd; font-weight: bold;"><a href="tel:318767800" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="9">318767800</a></span> bytes
<span style="color: #008800; font-weight: bold;">Database</span> Buffers <span style="color: #0000dd; font-weight: bold;"><a href="tel:79691776" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="10">79691776</a></span> bytes
Redo Buffers <span style="color: #0000dd; font-weight: bold;"><a href="tel:8445952" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="11">8445952</a></span> bytes
</pre>
</div>
<br>
Ahora, sólo tenemos que crear el controlfile con la ubicación del snapshot de los datafiles y cambiarle el nombre de a la base de datos a <i>orlctest</i>.<br>
<br>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">CREATE</span> CONTROLFILE <span style="color: #008800; font-weight: bold;">SET</span> <span style="color: #008800; font-weight: bold;">DATABASE</span> <span style="color: #aa6600;">"orcltest"</span> RESETLOGS
MAXLOGFILES <span style="color: #0000dd; font-weight: bold;">16</span>
MAXLOGMEMBERS <span style="color: #0000dd; font-weight: bold;">3</span>
MAXDATAFILES <span style="color: #0000dd; font-weight: bold;">1024</span>
MAXINSTANCES <span style="color: #0000dd; font-weight: bold;">8</span>
MAXLOGHISTORY <span style="color: #0000dd; font-weight: bold;">292</span>
LOGFILE
<span style="color: #008800; font-weight: bold;">GROUP</span> <span style="color: #0000dd; font-weight: bold;">1</span> <span style="background-color: #fff0f0;">'/u02/app/oracle/oradata/orcltest/orclstby/redo01.log'</span> <span style="color: #008800; font-weight: bold;">SIZE</span> <span style="color: #0000dd; font-weight: bold;">50</span>M BLOCKSIZE <span style="color: #0000dd; font-weight: bold;">512</span>,
<span style="color: #008800; font-weight: bold;">GROUP</span> <span style="color: #0000dd; font-weight: bold;">2</span> <span style="background-color: #fff0f0;">'/u02/app/oracle/oradata/orcltest/orclstby/redo02.log'</span> <span style="color: #008800; font-weight: bold;">SIZE</span> <span style="color: #0000dd; font-weight: bold;">50</span>M BLOCKSIZE <span style="color: #0000dd; font-weight: bold;">512</span>,
<span style="color: #008800; font-weight: bold;">GROUP</span> <span style="color: #0000dd; font-weight: bold;">3</span> <span style="background-color: #fff0f0;">'/u02/app/oracle/oradata/orcltest/orclstby/redo03.log'</span> <span style="color: #008800; font-weight: bold;">SIZE</span> <span style="color: #0000dd; font-weight: bold;">50</span>M BLOCKSIZE <span style="color: #0000dd; font-weight: bold;">512</span>
DATAFILE
<span style="background-color: #fff0f0;">'/u02/app/oracle/oradata/orcltest/orclstby/system01.dbf'</span>,
<span style="background-color: #fff0f0;">'/u02/app/oracle/oradata/orcltest/orclstby/sysaux01.dbf'</span>,
<span style="background-color: #fff0f0;">'/u02/app/oracle/oradata/orcltest/orclstby/undotbs01.dbf'</span>,
<span style="background-color: #fff0f0;">'/u02/app/oracle/oradata/orcltest/orclstby/pdbseed/system01.dbf'</span>,
<span style="background-color: #fff0f0;">'/u02/app/oracle/oradata/orcltest/orclstby/users01.dbf'</span>,
<span style="background-color: #fff0f0;">'/u02/app/oracle/oradata/orcltest/orclstby/pdbseed/sysaux01.dbf'</span>,
<span style="background-color: #fff0f0;">'/u02/app/oracle/oradata/orcltest/orclstby/orcl_pdb/system01.dbf'</span>,
<span style="background-color: #fff0f0;">'/u02/app/oracle/oradata/orcltest/orclstby/orcl_pdb/sysaux01.dbf'</span>,
<span style="background-color: #fff0f0;">'/u02/app/oracle/oradata/orcltest/orclstby/orcl_pdb/SAMPLE_SCHEMA_users01.dbf'</span>,
<span style="background-color: #fff0f0;">'/u02/app/oracle/oradata/orcltest/orclstby/orcl_pdb/example01.dbf'</span>
<span style="color: #007020;">CHARACTER</span> <span style="color: #008800; font-weight: bold;">SET</span> WE8MSWIN1252
;
<span style="color: #0000dd; font-weight: bold;">2</span> <span style="color: #0000dd; font-weight: bold;">3</span> <span style="color: #0000dd; font-weight: bold;">4</span> <span style="color: #0000dd; font-weight: bold;">5</span> <span style="color: #0000dd; font-weight: bold;">6</span> <span style="color: #0000dd; font-weight: bold;">7</span> <span style="color: #0000dd; font-weight: bold;">8</span> <span style="color: #0000dd; font-weight: bold;"><a href="tel:9%2010%2011%2012%2013%2014%2015%2016" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="12">9</a></span> <span style="color: #0000dd; font-weight: bold;"><a href="tel:9%2010%2011%2012%2013%2014%2015%2016" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="12">10</a></span> <span style="color: #0000dd; font-weight: bold;"><a href="tel:9%2010%2011%2012%2013%2014%2015%2016" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="12">11</a></span> <span style="color: #0000dd; font-weight: bold;"><a href="tel:9%2010%2011%2012%2013%2014%2015%2016" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="12">12</a></span> <span style="color: #0000dd; font-weight: bold;"><a href="tel:9%2010%2011%2012%2013%2014%2015%2016" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="12">13</a></span> <span style="color: #0000dd; font-weight: bold;"><a href="tel:9%2010%2011%2012%2013%2014%2015%2016" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="12">14</a></span> <span style="color: #0000dd; font-weight: bold;"><a href="tel:9%2010%2011%2012%2013%2014%2015%2016" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="12">15</a></span> <span style="color: #0000dd; font-weight: bold;"><a href="tel:9%2010%2011%2012%2013%2014%2015%2016" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="12">16</a></span> <span style="color: #0000dd; font-weight: bold;"><a href="tel:17%2018%2019%2020%2021%2022%2023" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="13">17</a></span> <span style="color: #0000dd; font-weight: bold;"><a href="tel:17%2018%2019%2020%2021%2022%2023" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="13">18</a></span> <span style="color: #0000dd; font-weight: bold;"><a href="tel:17%2018%2019%2020%2021%2022%2023" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="13">19</a></span> <span style="color: #0000dd; font-weight: bold;"><a href="tel:17%2018%2019%2020%2021%2022%2023" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="13">20</a></span> <span style="color: #0000dd; font-weight: bold;"><a href="tel:17%2018%2019%2020%2021%2022%2023" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="13">21</a></span> <span style="color: #0000dd; font-weight: bold;"><a href="tel:17%2018%2019%2020%2021%2022%2023" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="13">22</a></span> <span style="color: #0000dd; font-weight: bold;"><a href="tel:17%2018%2019%2020%2021%2022%2023" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="13">23</a></span>
Control file created.
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> RECOVER <span style="color: #008800; font-weight: bold;">DATABASE</span>
ORA<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">00283</span>: recovery <span style="color: #008800; font-weight: bold;">session</span> canceled due <span style="color: #008800; font-weight: bold;">to</span> errors
ORA<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">01610</span>: recovery <span style="color: #008800; font-weight: bold;">using</span> the BACKUP CONTROLFILE <span style="color: #008800; font-weight: bold;">option</span> must be done
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">ALTER</span> <span style="color: #008800; font-weight: bold;">DATABASE</span> <span style="color: #008800; font-weight: bold;">OPEN</span> RESETLOGS;
<span style="color: #008800; font-weight: bold;">Database</span> altered.
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">ALTER</span> PLUGGABLE <span style="color: #008800; font-weight: bold;">DATABASE</span> <span style="color: #008800; font-weight: bold;">ALL</span> <span style="color: #008800; font-weight: bold;">OPEN</span>;
Pluggable <span style="color: #008800; font-weight: bold;">database</span> altered.
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">ALTER</span> TABLESPACE TEMP <span style="color: #008800; font-weight: bold;">ADD</span> TEMPFILE <span style="background-color: #fff0f0;">'/u02/app/oracle/oradata/orcltest/orclstby/temp01.dbf'</span>
<span style="color: #008800; font-weight: bold;">SIZE</span> <span style="color: #0000dd; font-weight: bold;"><a href="tel:62914560" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="14">62914560</a></span> REUSE AUTOEXTEND <span style="color: #008800; font-weight: bold;">ON</span> <span style="color: #008800; font-weight: bold;">NEXT</span> <span style="color: #0000dd; font-weight: bold;">655360</span> MAXSIZE <span style="color: #0000dd; font-weight: bold;">32767</span>M;
<span style="color: #008800; font-weight: bold;">ALTER</span> <span style="color: #008800; font-weight: bold;">SESSION</span> <span style="color: #008800; font-weight: bold;">SET</span> CONTAINER <span style="color: #333333;">=</span> PDB<span style="background-color: #ffaaaa; color: red;">$</span>SEED;
<span style="color: #008800; font-weight: bold;">ALTER</span> TABLESPACE TEMP <span style="color: #008800; font-weight: bold;">ADD</span> TEMPFILE <span style="background-color: #fff0f0;">'/u02/app/oracle/oradata/orcltest/orclstby/pdbseed/pdbseed_temp01.dbf'</span>
<span style="color: #008800; font-weight: bold;">SIZE</span> <span style="color: #0000dd; font-weight: bold;"><a href="tel:20971520" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="16">20971520</a></span> REUSE AUTOEXTEND <span style="color: #008800; font-weight: bold;">ON</span> <span style="color: #008800; font-weight: bold;">NEXT</span> <span style="color: #0000dd; font-weight: bold;">655360</span> MAXSIZE <span style="color: #0000dd; font-weight: bold;">32767</span>M;
<span style="color: #008800; font-weight: bold;">ALTER</span> <span style="color: #008800; font-weight: bold;">SESSION</span> <span style="color: #008800; font-weight: bold;">SET</span> CONTAINER <span style="color: #333333;">=</span> ORCL_PDB;
<span style="color: #008800; font-weight: bold;">ALTER</span> TABLESPACE TEMP <span style="color: #008800; font-weight: bold;">ADD</span> TEMPFILE <span style="background-color: #fff0f0;">'/u02/app/oracle/oradata/orcltest/orclstby/orcl_pdb/orcl_pdb_temp01.dbf'</span>
<span style="color: #008800; font-weight: bold;">SIZE</span> <span style="color: #0000dd; font-weight: bold;"><a href="tel:20971520" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="18">20971520</a></span> REUSE AUTOEXTEND <span style="color: #008800; font-weight: bold;">ON</span> <span style="color: #008800; font-weight: bold;">NEXT</span> <span style="color: #0000dd; font-weight: bold;">655360</span> MAXSIZE <span style="color: #0000dd; font-weight: bold;">32767</span>M;
<span style="color: #008800; font-weight: bold;">ALTER</span> <span style="color: #008800; font-weight: bold;">SESSION</span> <span style="color: #008800; font-weight: bold;">SET</span> CONTAINER <span style="color: #333333;">=</span> CDB<span style="background-color: #ffaaaa; color: red;">$</span>ROOT;
<span style="color: #0000dd; font-weight: bold;">2</span>
Tablespace altered.
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span>
<span style="color: #008800; font-weight: bold;">Session</span> altered.
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> <span style="color: #0000dd; font-weight: bold;">2</span>
Tablespace altered.
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span>
<span style="color: #008800; font-weight: bold;">Session</span> altered.
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> <span style="color: #0000dd; font-weight: bold;">2</span>
Tablespace altered.
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span>
<span style="color: #008800; font-weight: bold;">Session</span> altered.
</pre>
</div>
<br>
Y como puedes ver, la nueva BD está en corriendo y funcionando de un snapshot de la base de datos standby.<br>
<br>
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">set</span> lines <span style="color: #0000dd; font-weight: bold;">200</span> pages <span style="color: #0000dd; font-weight: bold;">9999</span>
<span style="color: #008800; font-weight: bold; line-height: 125%;">SQL</span><span style="color: #333333; line-height: 125%;">></span><span style="color: #008800; font-weight: bold;">SELECT</span> NAME,OPEN_MODE,PROTECTION_MODE,
PROTECTION_LEVEL,
DATABASE_ROLE <span style="color: #008800; font-weight: bold;">ROLE</span>,
SWITCHOVER_STATUS
<span style="color: #008800; font-weight: bold;">FROM</span> V<span style="background-color: #ffaaaa; color: red;">$</span><span style="color: #008800; font-weight: bold;">DATABASE</span>;
NAME OPEN_MODE PROTECTION_MODE PROTECTION_LEVEL <span style="color: #008800; font-weight: bold;">ROLE</span> SWITCHOVER_STATUS
<span style="color: #888888;">--------- -------------------- -------------------- -------------------- ---------------- --------------------</span>
ORCLTEST <span style="color: #008800; font-weight: bold;">READ</span> <span style="color: #008800; font-weight: bold;">WRITE</span> MAXIMUM PERFORMANCE UNPROTECTED <span style="color: #008800; font-weight: bold;">PRIMARY</span> <span style="color: #008800; font-weight: bold;">NOT</span> ALLOWED
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold; line-height: 125%;">select</span><span style="line-height: 125%;"> host_name,instance_name </span><span style="color: #008800; font-weight: bold; line-height: 125%;">from</span><span style="line-height: 125%;"> gv</span><span style="background-color: #ffaaaa; color: red; line-height: 125%;">$</span><span style="line-height: 125%;">instance;</span>
HOST_NAME INSTANCE_NAME
<span style="color: #888888;">---------------------------------------------------------------- ----------------</span>
adg12c.oracle.com orcltest
</pre>
</div>
<br>
<b>Conclusión</b><br>
<b><br></b>
Esta no es la forma recomendada de hacerlo, pero eso no quiere decir que no se puede hacer. También puedes tener pérdida de datos, ya que si la BD primaria no esta totalmente sincronizada con la BD standby, vas a tener un hueco, así que tienes que estar seguro de el último redo log haya sido aplicado. De igual manera, asegurate de que esto no tenga un impacto en tu ambiente de alta disponibilidad, ya que aunque sea por pocos minutos , la replicación de tu ambiente DG estará inactivo para que puedas tener un snapshot de una base de datos consistente.<br>
<br>
<br>
<br>
<br>Anonymoushttp://www.blogger.com/profile/16707526771327328274noreply@blogger.com0tag:blogger.com,1999:blog-4609531821681208136.post-47009341671196897522014-06-04T16:34:00.001-06:002014-06-04T16:34:12.491-06:00La nueva version de Enterprise Manager 12c, Release 4!<div style="background-color: white; color: #555555; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 10px; margin-top: 10px;">
El día 3 de Junio del 2014 se anuncio la nueva versión de Enterprise Manager, y en esta versión hay nuevas funcionalidades que realmente hace que uno se apasione por este producto. Aquí no voy a platicar de todas las nuevas características, pero si de unas cuantas que son las de mas interés para la Base de Datos.</div>
<div>
<div style="background-color: white; color: #555555; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 10px; margin-top: 10px;">
<b>Gestión Avanzada de Umbrales (Advanced Threshold Management)</b></div>
<div style="background-color: white; color: #555555; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 10px; margin-top: 10px;">
Esta funcionalidad lo que permite es tener una mayor flexibilidad en los umbrales de todos tus objetivos (Targets)...</div>
<div style="background-color: white; color: #555555; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 10px; margin-top: 10px;">
<a href="https://blogs.oracle.com/rantunez/entry/la_nueva_version_de_enterprise">La nueva version de Enterprise Manager 12c, Release 4!</a></div>
</div>
Anonymoushttp://www.blogger.com/profile/16707526771327328274noreply@blogger.com0tag:blogger.com,1999:blog-4609531821681208136.post-77154647552193676722014-05-30T14:13:00.001-06:002014-05-30T14:13:16.127-06:00Mi camino para convertirme en un Oracle ACE AssociateA pesar de que han pasado un par de meses desde que recibí mi premio Oracle ACE Associate, no había escrito sobre él camino para obtenerlo, así que te voy a platicar como fue.<br />
<br />
Una de las mejores cosas que Pythian tiene, es que cuando llegas a esta empresa, es que en las primeras semanas de unirse a ella, te toca sentarte con los líderes de Pythian. Yo escribí acerca de mi primera semana en <a href="http://www.pythian.com/blog/first-days-a-a-pythianite/">esta entrada (Inlges)</a>, y a pesar de que ya no estoy trabajando para ellos, todavía sigo siendo buenos amigos con ellos.<br />
<br />
A lo que quería llegar, es que en una de esas conversaciones, me senté con su CTO, ACE Director <a href="http://www.pythian.com/about/team/leadership/alex-gorbachev/">Alex Gorbachev</a>, y una de las cosas que él me pregunto, fue; ¿Cuál es una de mis metas profesionales en Pythian? Y mi respuesta era convertirse en un ACE de Oracle, su respuesta fue que él no iba a poner una nominación o recomendarme para este premio. No voy a decir que no dolio un poco, ya que yo ya estaba muy activo en las redes sociales, tenia blogeando desde hace 4 años y estaba haciendo presentaciones publicas, y de hecho fue una de las razones por las que me contrato Pythian.<br />
<br />
Pero esto sólo alimentó la pasión, así que puse el dedo en la llaga para lograr este objetivo. En el inter, me aceptaron en el Oracle Open World, IOUG Collaborate, escribió un artículo para OTN LAD, seguí presentado en México para el grupo ORAMEX, hice un Webinar para el grupo LAOUC, aparecí en el boletín de RMOUG. Así que después de hablar con mi mentor y gran amiga, Kellyn Pot'vin (@dbakevlar). Ella decidió que era el momento de poner la nominación para convertirme en ACE.<br />
<br />
No te voy a mentir , pensé que lo tenía en la bolsa, y para mi sorpresa, mi nominación fue rechazada, y esto no solo dolió, eso fue un golpe directo a la cabeza, ya que al mismo tiempo, varias cosas personales estaban sucediendo a mi alrededor. Me puse a pensar si estaba bien todo lo que ya estaba haciendo y aún así me rechazaron, entonces, ¿qué otra cosa se supone que debo hacer?<br />
<br />
Así que por un par de meses me revolcaba en mi dolor no hacer recibido el premio ACE. Pero finalmente me levante de nuevo, segui escribiendo en mis blogs, continue presentando, hasta que finalmente un día, Francisco Muñoz (@ fcomunoz), Ronald Vargas (@ rovaque), Paola Pullas (@ paolapullas) y Kellyn (Con quién estoy eternamente agradecido) en tándem, enviaron la nominación, por el recien anunciado Oracle ACE Associate, y esta vez, tuve la suerte de recibir la distinción.<br />
<br />
Este fue un camino mucho más difícil que lo que esperaba, y mi pensamiento personal (y esto no es una queja, sólo un pensamiento) es que como soy procedente de América Latina, tienes una menor exposición al programa que tus contrapartes en lugares como en Estado Unidos, haciendo un poco más difícil de conseguir este premio. La verdad, me siento honrado de haber sido incluido en esta lista de personas, ya que es un grupo de personas que trabajan duro para la comunidad para poder compartir sus conocimientos por todas partes, y todo esto por el gran precio de amistades increíbles, más conocimiento adquirido y 0 dólares.<br />
<br />
No voy a decir que este será tu camino, pero yo digo que es un camino vale la pena viajar y aventurarse. El estado actual de mi ACE ha quedado por el momento suspendido, ya que en estos momentos estoy trabajando para Oracle, pero esto no me va a impedir a compartir mi poco conocimiento y aventuras que sigo teniendo contigo.<br />
<br />
Te deseo lo mejor en este camino!<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-RfzsgiUbRa4/U4jl9rIZkxI/AAAAAAAAAkw/rSqRFf1uXlo/s1600/O_ACE_Icon_blk.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-RfzsgiUbRa4/U4jl9rIZkxI/AAAAAAAAAkw/rSqRFf1uXlo/s1600/O_ACE_Icon_blk.png" /></a></div>
<br />Anonymoushttp://www.blogger.com/profile/16707526771327328274noreply@blogger.com0tag:blogger.com,1999:blog-4609531821681208136.post-21033751107140901572014-05-29T16:48:00.002-06:002014-05-29T16:48:11.790-06:00Oracle 12cR1 : Evaluación "What-If" de un comando crsctl con Oracle Clusterware<div style="background-color: white; color: #555555; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 10px; margin-top: 10px;">
<span style="font-family: arial, helvetica, sans-serif;">Oracle en su nueva version 12cR1 introdujo una nueva y pequeña característica al Oracle Clusterware, pero el que sea pequeña, no significa que no sea de gran utilidad.</span></div>
<div style="background-color: white; color: #555555; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 10px; margin-top: 10px;">
<span style="font-family: arial, helvetica, sans-serif;">En versiones anteriores, si queríamos saber que iba a pasar al ejecutar un comando con la herramienta <em>crsctl</em>, teníamos que hacerlo en un ambiente de pruebas, ya que si no sabíamos de que se trataba el comando, se convertía en algo muy peligroso hacerlo sobre producción.</span></div>
<div style="background-color: white; color: #555555; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 10px; margin-top: 10px;">
<span style="font-family: arial, helvetica, sans-serif;">En Oracle Clusterware 12cR1 se introduce la evaluación de comando tipo "What-If" en la herramienta mencionada anteriormente</span><em style="font-family: arial, helvetica, sans-serif;">, crsctl eval ...</em></div>
<div style="background-color: white; margin-bottom: 10px; margin-top: 10px;">
<span style="color: #555555; font-family: arial, helvetica, sans-serif;"><span style="font-size: 12px; line-height: 18px;"><i><a href="https://blogs.oracle.com/rantunez/entry/oracle_12cr1_evaluacion_what_if">Oracle 12cR1 : Evaluación "What-If" de un comando crsctl con Oracle Clusterware</a></i></span></span></div>
Anonymoushttp://www.blogger.com/profile/16707526771327328274noreply@blogger.com0tag:blogger.com,1999:blog-4609531821681208136.post-2056566818672612872014-05-26T10:57:00.002-06:002014-05-26T10:59:34.817-06:00Oracle 12cR1 : Como configurar una BD Standby en cascada con la propiedad RedoRoutesEn una de las entradas pasadas, vimos como crear una instancia Far Sync, que lo que realmente es,<br />
es una instancia que en cascada manda los Redologs a las instancias que configuramos.<br />
<br />
Algo que se podia hacer en 11g, es tener Standby's en cascada, pero no a través del broker. En Oracle 12c te permite hacer las configuraciones de las rutas de hacia donde quieres que se direccionen tus Redologs a través de la propiedad RedoRoutes del broker de 12c .<br />
<br />
Para entender un poco de que es lo que queremos hacer , voy a hacer un dibujo de que es lo que queremos hacer.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-K1KJeZl2Agc/U4Nbr4JxpXI/AAAAAAAAAkI/TWcBEBMjNZE/s1600/Diapositiva1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-K1KJeZl2Agc/U4Nbr4JxpXI/AAAAAAAAAkI/TWcBEBMjNZE/s1600/Diapositiva1.jpg" height="360" width="640" /></a></div>
<br />
Para este ejercicio, vamos a tener 3 bases de datos , una primaria, y dos Physical Standbys , asi como dos instancias FarSync, una local y otra remota.<br />
<br />
<ul>
<li>Primaria: orcl</li>
<li>Remote Standby:orclstby</li>
<li>Remote Local Standby:orclrep</li>
</ul>
<br />
Aquí no te voy a decir como crear una Physical Standby, eso lo puedes ver en la entrada <a href="http://oracleenespanol.blogspot.com/2013/05/como-crear-un-standby-fisico-con-rman.html">Como crear un Standby Fisico con RMAN Active Duplicate en 11.2.0.3</a> , aunque es para 11.2.0.3, aplica para 12cR1.<br />
<br />
Lo primero que vamos a hacer, es deshabilitar la aplicación de los redologs en nuestras Base de Datos Standbys.<br />
<br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #333333;">[</span>oracle@adg12c ~<span style="color: #333333;">]</span><span style="color: #996633;">$ </span>. oraenv
<span style="color: #996633;">ORACLE_SID</span> <span style="color: #333333;">=</span> <span style="color: #333333;">[</span>orcl<span style="color: #333333;">]</span> ? orcl
The Oracle base remains unchanged with value /u01/app/oracle
<span style="color: #333333;">[</span>oracle@adg12c ~<span style="color: #333333;">]</span><span style="color: #996633;">$ </span>dgmgrl
DGMGRL <span style="color: #008800; font-weight: bold;">for </span>Linux: Version 12.1.0.1.0 - 64bit Production
Copyright <span style="color: #333333;">(</span>c<span style="color: #333333;">)</span> 2000, 2012, Oracle. All rights reserved.
Welcome to DGMGRL, <span style="color: #007020;">type</span> <span style="background-color: #fff0f0;">"help"</span> <span style="color: #008800; font-weight: bold;">for </span>information.
DGMGRL> connect sys/oracle
Connected as SYSDG.
DGMGRL> edit database <span style="background-color: #fff0f0;">'orclstby'</span> <span style="color: #007020;">set </span><span style="color: #996633;">state</span><span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'apply-off'</span>;
Succeeded.
DGMGRL> edit database <span style="background-color: #fff0f0;">'orclrep'</span> <span style="color: #007020;">set </span><span style="color: #996633;">state</span><span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'apply-off'</span>;
Succeeded.
</pre>
</div>
<br />
La propiedad de RedoRoutes, esta definida por reglas, y estas reglas se definen por el origen y el destino de los RedoLogs<br />
<br />
<i>(origen de los redologs : destino de los redo )</i><br />
<br />
Si el <i>redo source</i> se define como <i>LOCAL</i>, se entiende que es la Base de Datos de donde se esta definiendo la propiedad.<br />
<br />
Ahora vamos a definir las rutas de los Redologs, con la propiedad RedoRoutes del broker de Dataguard de 12c.<br />
<br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">DGMGRL> edit database <span style="background-color: #fff0f0;">'orclstby'</span> <span style="color: #007020;">set </span><span style="color: #996633;">state</span><span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'apply-off'</span>;
Succeeded.
DGMGRL> edit database <span style="background-color: #fff0f0;">'orclrep'</span> <span style="color: #007020;">set </span><span style="color: #996633;">state</span><span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'apply-off'</span>;
Succeeded.
DGMGRL> edit database <span style="background-color: #fff0f0;">'orcl'</span> <span style="color: #007020;">set </span>property <span style="background-color: #fff0f0;">'redoroutes'</span><span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'( LOCAL : farsync SYNC)'</span>;
Succeeded.
DGMGRL> edit database <span style="background-color: #fff0f0;">'orclstby'</span> <span style="color: #007020;">set </span>property <span style="background-color: #fff0f0;">'redoroutes'</span><span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'(orcl : orclrep ASYNC)(orclrep : orcl ASYNC)(LOCAL : farsync2 SYNC)'</span>;
Succeeded.
DGMGRL> edit database <span style="background-color: #fff0f0;">'orclrep'</span> <span style="color: #007020;">set </span>property <span style="background-color: #fff0f0;">'redoroutes'</span><span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">'(orclrep : orclstby SYNC)'</span>;
Succeeded.
DGMGRL> edit far_sync <span style="background-color: #fff0f0;">'farsync'</span> <span style="color: #007020;">set </span>property <span style="background-color: #fff0f0;">'redoroutes'</span> <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">'(orcl : orclstby ASYNC )'</span>;
Succeeded.
DGMGRL> edit far_sync <span style="background-color: #fff0f0;">'farsync2'</span> <span style="color: #007020;">set </span>property <span style="background-color: #fff0f0;">'redoroutes'</span> <span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'(orclstby : orcl ASYNC, orclrep )'</span>;
Succeeded.
DGMGRL> edit database <span style="background-color: #fff0f0;">'orclstby'</span> <span style="color: #007020;">set </span><span style="color: #996633;">state</span><span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'apply-on'</span>;
Succeeded.
DGMGRL> edit database <span style="background-color: #fff0f0;">'orclrep'</span> <span style="color: #007020;">set </span><span style="color: #996633;">state</span><span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'apply-on'</span>;
Succeeded.
</pre>
</div>
<br />
Como podemos ver en la configuración de nuestro dataguard, la BD <i>orclrep</i>, ahora esta recibiendo en cascada los RedoLogs de la standby <i>orclstby </i>, que ese era nuestro objetivo aqui, para asi poder liberar los recursos de la instancia FarSync, y se hiciera a través de la BD <i>orclstby</i>.<br />
<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">DGMGRL> show configuration;
Configuration - DGCONFIG
Protection Mode: MaxPerformance
Databases:
orcl - Primary database
farsync - Far Sync
orclstby - Physical standby database
orclrep - Physical standby database <span style="color: #333333;">(</span>receiving current redo<span style="color: #333333;">)</span>
farsync2 - Far Sync <span style="color: #333333;">(</span>inactive<span style="color: #333333;">)</span>
Fast-Start Failover: DISABLED
Configuration Status:
SUCCESS
</pre>
</div>
<br />
<b>Conclusion</b><br />
Ahora Oracle 12cR1 te permite a través de su DG broker hacer configuraciones mas complejas para tu topología de DR con dataguard. De la misma manera, puedes jugar con tus configuraciones para ver que es lo que se acomoda a tus necesidades y poder validar la configuración antes de hacer un switchover.<br />
<br />Anonymoushttp://www.blogger.com/profile/16707526771327328274noreply@blogger.com0tag:blogger.com,1999:blog-4609531821681208136.post-74468231221876751012014-05-12T16:37:00.002-06:002014-05-12T17:10:54.050-06:00Oracle RAC 12cR1 : Como ver las dependencias que tiene un recurso con crsctlCuando uno empieza a usar Oracle RAC, es necesario entender todos los recursos involucrados para que suba nuestra base de datos, esto no es problema cuando todo esta corriendo bien, pero que pasa cuando existe una falla y estás a contra reloj.<br />
<br />
En Oracle 12cR1, existe un nuevo parametro en la herramienta <i>crsctl</i> para poder ver las dependencias que tiene un recurso y así facilitarnos la vida al tratar de resolver un problema.<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">[root<span style="color: #333333;">@</span>oel6<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">112</span><span style="color: #333333;">-</span>rac1 <span style="color: #333333;">~</span>]<span style="color: #333333;">#</span> crsctl status resource ora.orcl.db <span style="color: #333333;">-</span>dependency
<span style="color: #333333;">================================================================================</span>
Resource <span style="color: #008800; font-weight: bold;">Start</span> Dependencies
<span style="color: #333333;">================================================================================</span>
<span style="color: #888888;">----------------------------------ora.orcl.db-----------------------------------</span>
ora.orcl.db(ora.<span style="color: #008800; font-weight: bold;">database</span>.<span style="color: #008800; font-weight: bold;">type</span>)<span style="color: #333333;">-></span>
<span style="color: #333333;">|</span> <span style="color: #008800; font-weight: bold;">type</span>:ora.listener.<span style="color: #008800; font-weight: bold;">type</span>[weak:<span style="color: #008800; font-weight: bold;">type</span>]
<span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #008800; font-weight: bold;">type</span>:ora.cluster_vip_net1.<span style="color: #008800; font-weight: bold;">type</span>[hard:<span style="color: #008800; font-weight: bold;">type</span>,pullup:<span style="color: #008800; font-weight: bold;">type</span>]
<span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> ora.net1.network(ora.network.<span style="color: #008800; font-weight: bold;">type</span>)[hard,pullup]
<span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> ora.gns(ora.gns.<span style="color: #008800; font-weight: bold;">type</span>)[weak:<span style="color: #008800; font-weight: bold;">global</span>]
<span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> ora.gns.vip(ora.gns_vip.<span style="color: #008800; font-weight: bold;">type</span>)[hard,pullup]
<span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> ora.net1.network(ora.network.<span style="color: #008800; font-weight: bold;">type</span>)[hard,pullup]
<span style="color: #333333;">|</span> <span style="color: #008800; font-weight: bold;">type</span>:ora.scan_listener.<span style="color: #008800; font-weight: bold;">type</span>[weak:<span style="color: #008800; font-weight: bold;">type</span>:<span style="color: #008800; font-weight: bold;">global</span>]
<span style="color: #333333;">|</span> <span style="color: #333333;">|</span> ora.scan1.vip(ora.scan_vip.<span style="color: #008800; font-weight: bold;">type</span>)[hard,pullup]
<span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> ora.net1.network(ora.network.<span style="color: #008800; font-weight: bold;">type</span>)[hard,pullup:<span style="color: #008800; font-weight: bold;">global</span>]
<span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> ora.gns(ora.gns.<span style="color: #008800; font-weight: bold;">type</span>)[weak:<span style="color: #008800; font-weight: bold;">global</span>]
<span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> ora.gns.vip(ora.gns_vip.<span style="color: #008800; font-weight: bold;">type</span>)[hard,pullup]
<span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> ora.net1.network(ora.network.<span style="color: #008800; font-weight: bold;">type</span>)[hard,pullup]
<span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #008800; font-weight: bold;">type</span>:ora.scan_vip.<span style="color: #008800; font-weight: bold;">type</span>[dispersion:<span style="color: #008800; font-weight: bold;">type</span>:active]
<span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #008800; font-weight: bold;">type</span>:ora.scan_listener.<span style="color: #008800; font-weight: bold;">type</span>[dispersion:<span style="color: #008800; font-weight: bold;">type</span>:active]
<span style="color: #333333;">|</span> ora.ons(ora.ons.<span style="color: #008800; font-weight: bold;">type</span>)[weak:uniform]
<span style="color: #333333;">|</span> <span style="color: #333333;">|</span> ora.net1.network(ora.network.<span style="color: #008800; font-weight: bold;">type</span>)[hard,pullup]
<span style="color: #333333;">|</span> ora.gns(ora.gns.<span style="color: #008800; font-weight: bold;">type</span>)[weak:<span style="color: #008800; font-weight: bold;">global</span>]
<span style="color: #333333;">|</span> <span style="color: #333333;">|</span> ora.gns.vip(ora.gns_vip.<span style="color: #008800; font-weight: bold;">type</span>)[hard,pullup]
<span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> ora.net1.network(ora.network.<span style="color: #008800; font-weight: bold;">type</span>)[hard,pullup]
<span style="color: #333333;">|</span> ora.<span style="color: #008800; font-weight: bold;">DATA</span>.dg(ora.diskgroup.<span style="color: #008800; font-weight: bold;">type</span>)[hard:<span style="color: #008800; font-weight: bold;">global</span>:uniform,pullup:<span style="color: #008800; font-weight: bold;">global</span>]
<span style="color: #333333;">|</span> <span style="color: #333333;">|</span> ora.asm(ora.asm.<span style="color: #008800; font-weight: bold;">type</span>)[hard,pullup:always]
<span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> ora.LISTENER.lsnr(ora.listener.<span style="color: #008800; font-weight: bold;">type</span>)[weak]
<span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #008800; font-weight: bold;">type</span>:ora.cluster_vip_net1.<span style="color: #008800; font-weight: bold;">type</span>[hard:<span style="color: #008800; font-weight: bold;">type</span>,pullup:<span style="color: #008800; font-weight: bold;">type</span>]
<span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> ora.net1.network(ora.network.<span style="color: #008800; font-weight: bold;">type</span>)[hard,pullup]
<span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> ora.gns(ora.gns.<span style="color: #008800; font-weight: bold;">type</span>)[weak:<span style="color: #008800; font-weight: bold;">global</span>]
<span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> ora.gns.vip(ora.gns_vip.<span style="color: #008800; font-weight: bold;">type</span>)[hard,pullup]
<span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> ora.net1.network(ora.network.<span style="color: #008800; font-weight: bold;">type</span>)[hard,pullup]
<span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> ora.ASMNET1LSNR_ASM.lsnr(ora.asm_listener.<span style="color: #008800; font-weight: bold;">type</span>)[hard,pullup]
<span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> ora.gns(ora.gns.<span style="color: #008800; font-weight: bold;">type</span>)[weak:<span style="color: #008800; font-weight: bold;">global</span>]
<span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> ora.gns.vip(ora.gns_vip.<span style="color: #008800; font-weight: bold;">type</span>)[hard,pullup]
<span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> <span style="color: #333333;">|</span> ora.net1.network(ora.network.<span style="color: #008800; font-weight: bold;">type</span>)[hard,pullup]
<span style="color: #888888;">--------------------------------------------------------------------------------</span>
</pre>
</div>
<br />
De igual manera , podemos ver que dependencia tiene otro recurso si lo llegáramos a iniciar o detener y ver el impacto que este tendría.<br />
<br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">[root<span style="color: #333333;">@</span>oel6<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">112</span><span style="color: #333333;">-</span>rac1 <span style="color: #333333;">~</span>]<span style="color: #333333;">#</span> crsctl status resource ora.<span style="color: #008800; font-weight: bold;">DATA</span>.dg <span style="color: #333333;">-</span>dependency <span style="color: #333333;">-</span>stop
<span style="color: #333333;">================================================================================</span>
Resource Stop Dependencies
<span style="color: #333333;">================================================================================</span>
<span style="color: #888888;">----------------------------------ora.DATA.dg-----------------------------------</span>
ora.<span style="color: #008800; font-weight: bold;">DATA</span>.dg(ora.diskgroup.<span style="color: #008800; font-weight: bold;">type</span>)<span style="color: #333333;">-></span>
<span style="color: #333333;">|</span> ora.mgmtdb(ora.mgmtdb.<span style="color: #008800; font-weight: bold;">type</span>)[hard:<span style="color: #008800; font-weight: bold;">global</span>:shutdown]
<span style="color: #333333;">|</span> ora.orcl.db(ora.<span style="color: #008800; font-weight: bold;">database</span>.<span style="color: #008800; font-weight: bold;">type</span>)[hard:<span style="color: #008800; font-weight: bold;">global</span>:shutdown]
[root<span style="color: #333333;">@</span>oel6<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">112</span><span style="color: #333333;">-</span>rac1 <span style="color: #333333;">~</span>]<span style="color: #333333;">#</span> crsctl status resource ora.<span style="color: #008800; font-weight: bold;">DATA</span>.dg <span style="color: #333333;">-</span>dependency <span style="color: #333333;">-</span>pullup
<span style="color: #333333;">================================================================================</span>
Resource Pullup Dependencies
<span style="color: #333333;">================================================================================</span>
<span style="color: #888888;">----------------------------------ora.DATA.dg-----------------------------------</span>
ora.<span style="color: #008800; font-weight: bold;">DATA</span>.dg(ora.diskgroup.<span style="color: #008800; font-weight: bold;">type</span>)<span style="color: #333333;">-></span>
<span style="color: #333333;">|</span> ora.mgmtdb(ora.mgmtdb.<span style="color: #008800; font-weight: bold;">type</span>)[pullup:<span style="color: #008800; font-weight: bold;">global</span>]
<span style="color: #333333;">|</span> ora.orcl.db(ora.<span style="color: #008800; font-weight: bold;">database</span>.<span style="color: #008800; font-weight: bold;">type</span>)[pullup:<span style="color: #008800; font-weight: bold;">global</span>]
<span style="color: #888888;">--------------------------------------------------------------------------------</span>
</pre>
</div>
<br />
<b>Conclusión</b><br />
<br />
Si te fijas, es una pequeña mejora al estatus de nuestros recursos que se venia manejando desde previas versiones, pero esta mejora te ayudara a planear y atacar los problemas de una manera mas rapida.Anonymoushttp://www.blogger.com/profile/16707526771327328274noreply@blogger.com0tag:blogger.com,1999:blog-4609531821681208136.post-25320332774924979162014-04-30T17:07:00.000-06:002014-04-30T17:07:19.420-06:00Oracle 12cR1 : Como crear una instancia Far Sync para Active Data GuardEn Oracle 12c , se introduce el concepto de Far Sync Instance para Active Data Guard (ADG), esta instancia acepta redo de la base de datos principal en Standby Redo Logs (SRLs), y luego envia estos a los miembros de la configuración de ADG. Una instancia Far Sync, no tiene datafiles de usuario, no se puede abrir accederla, no se puede ejecutar Redo Apply, y nunca puede funcionar como BD principal o convertir en cualquier tipo de BD standby.<br />
<br />
Lo que vamos a hacer aqui es configurar 2 instancias de Far Sync (<b>farsync</b> y <b>farsync2</b>), una que pertenezca a la Principal (<b>orcl</b>) y otra que pertenezca a la Standby (<b>orclstby</b>).<br />
<br />
Primero en la BD orcl, vamos a crear el controlfile y el password file para la instancia Far Sync<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">alter</span> <span style="color: #008800; font-weight: bold;">database</span> <span style="color: #008800; font-weight: bold;">create</span> far sync instance controlfile <span style="color: #008800; font-weight: bold;">as</span> <span style="background-color: #fff0f0;">'/u01/app/oracle/oradata/farsync/control01.ctl'</span>
<span style="color: #008800; font-weight: bold;">Database</span> altered.
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> <span style="color: #333333;">!</span>cp <span style="color: #333333;">/</span>u01<span style="color: #333333;">/</span>app<span style="color: #333333;">/</span>oracle<span style="color: #333333;">/</span>product<span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">12</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">0</span><span style="color: #333333;">/</span>dbhome_1<span style="color: #333333;">/</span>dbs<span style="color: #333333;">/</span>orapworcl <span style="color: #333333;">/</span>u01<span style="color: #333333;">/</span>app<span style="color: #333333;">/</span>oracle<span style="color: #333333;">/</span>product<span style="color: #333333;">/</span><span style="color: #0000dd; font-weight: bold;">12</span>.<span style="color: #0000dd; font-weight: bold;">1</span>.<span style="color: #0000dd; font-weight: bold;">0</span><span style="color: #333333;">/</span>dbhome_1<span style="color: #333333;">/</span>dbs<span style="color: #333333;">/</span>orapwfarsync
</pre>
</div>
<br />
Ahora vamos a crear los Standby Redo Logs para la instancia Far Sync<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">alter</span> <span style="color: #008800; font-weight: bold;">database</span> <span style="color: #008800; font-weight: bold;">add</span> standby logfile <span style="background-color: #fff0f0;">'/u01/app/oracle/oradata/farsync/farsync01.log'</span> <span style="color: #008800; font-weight: bold;">size</span> <span style="color: #0000dd; font-weight: bold;">50</span>M;
<span style="color: #008800; font-weight: bold;">Database</span> altered.
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">alter</span> <span style="color: #008800; font-weight: bold;">database</span> <span style="color: #008800; font-weight: bold;">add</span> standby logfile <span style="background-color: #fff0f0;">'/u01/app/oracle/oradata/farsync/farsync02.log'</span> <span style="color: #008800; font-weight: bold;">size</span> <span style="color: #0000dd; font-weight: bold;">50</span>M;
<span style="color: #008800; font-weight: bold;">Database</span> altered.
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">alter</span> <span style="color: #008800; font-weight: bold;">database</span> <span style="color: #008800; font-weight: bold;">add</span> standby logfile <span style="background-color: #fff0f0;">'/u01/app/oracle/oradata/farsync/farsync03.log'</span> <span style="color: #008800; font-weight: bold;">size</span> <span style="color: #0000dd; font-weight: bold;">50</span>M;
<span style="color: #008800; font-weight: bold;">Database</span> altered.
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">alter</span> <span style="color: #008800; font-weight: bold;">database</span> <span style="color: #008800; font-weight: bold;">add</span> standby logfile <span style="background-color: #fff0f0;">'/u01/app/oracle/oradata/farsync/farsync04.log'</span> <span style="color: #008800; font-weight: bold;">size</span> <span style="color: #0000dd; font-weight: bold;">50</span>M;
<span style="color: #008800; font-weight: bold;">Database</span> altered.
</pre>
</div>
<br />
Vamos ahora a crear un archivo de parámetros (pfile) para la instancia Far Sync, y la vamos a subir<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">[oracle<span style="color: #333333;">@</span>adg12c <span style="color: #333333;">~</span>]<span style="background-color: #ffaaaa; color: red;">$</span> export ORACLE_SID<span style="color: #333333;">=</span><b><span style="color: red;">farsync</span></b>
[oracle<span style="color: #333333;">@</span>adg12c <span style="color: #333333;">~</span>]<span style="background-color: #ffaaaa; color: red;">$</span> cat <span style="color: #333333;">/</span>u01<span style="color: #333333;">/</span>pfile.ora
<span style="color: #333333;">*</span>.archive_lag_target<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>
<span style="color: #333333;">*</span>.audit_file_dest<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'/u01/app/oracle/admin/orcl/adump'</span>
<span style="color: #333333;">*</span>.audit_trail<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'db'</span>
<span style="color: #333333;">*</span>.compatible<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'12.1.0.0.0'</span>
<span style="color: #333333;">*</span>.control_files<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'/u01/app/oracle/oradata/farsync/control01.ctl'</span>
<span style="color: #333333;">*</span>.db_block_size<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">8192</span>
<span style="color: #333333;">*</span>.db_domain<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'oracle.com'</span>
<span style="color: #333333;">*</span>.db_name<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'orcl'</span>
<span style="color: #333333;">*</span>.db_recovery_file_dest<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'/u01/app/oracle/recovery_area'</span>
<span style="color: #333333;">*</span>.db_recovery_file_dest_size<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">5368709120</span>
<span style="color: #333333;">*</span>.dg_broker_start<span style="color: #333333;">=</span><span style="color: #008800; font-weight: bold;">TRUE</span>
<span style="color: #333333;">*</span>.diagnostic_dest<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'/u01/app/oracle'</span>
<span style="color: #333333;">*</span>.dispatchers<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'(PROTOCOL=TCP) (SERVICE=orclXDB)'</span>
<span style="color: #333333;">*</span>.enable_pluggable_database<span style="color: #333333;">=</span><span style="color: #008800; font-weight: bold;">true</span>
<span style="color: #333333;">*</span>.log_archive_config<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'dg_config=(orcl,farsync,orclstby)'</span>
<span style="color: #333333;">*</span>.log_archive_dest_1<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(all_logfiles,all_roles) db_unique_name=farsync'</span>
<span style="color: #333333;">*</span>.log_archive_dest_2<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'SERVICE=orclstby ASYNC VALID_FOR=(STANDBY_LOGFILES,STANDBY_ROLE) DB_UNIQUE_NAME=orclstby'</span>
<span style="color: #333333;">*</span>.log_archive_dest_state_2<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'ENABLE'</span>
<span style="color: #333333;">*</span>.log_archive_dest_state_3<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'ENABLE'</span>
farsync.log_archive_format<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'%t_%s_%r.dbf'</span>
<span style="color: #333333;">*</span>.log_archive_max_processes<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">4</span>
<span style="color: #333333;">*</span>.log_archive_min_succeed_dest<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">1</span>
farsync.log_archive_trace<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>
<span style="color: #333333;">*</span>.open_cursors<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">300</span>
<span style="color: #333333;">*</span>.processes<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">300</span>
<span style="color: #333333;">*</span>.remote_login_passwordfile<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'EXCLUSIVE'</span>
<span style="color: #333333;">*</span>.standby_file_management<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'MANUAL'</span>
<span style="color: #333333;">*</span>.undo_tablespace<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'UNDOTBS1'</span>
LOG_FILE_NAME_CONVERT<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'orcl'</span>,farsync<span style="background-color: #ffaaaa; color: red;">'</span>
DB_UNIQUE_NAME<span style="color: #333333;">=</span>farsync
FAL_SERVER<span style="color: #333333;">=</span>orcl
[oracle<span style="color: #333333;">@</span>adg12c ~]<span style="background-color: #ffaaaa; color: red;">$</span> sqlplus
Enter <span style="color: #008800; font-weight: bold;">user</span><span style="color: #333333;">-</span>name: <span style="color: #333333;">/</span><span style="color: #008800; font-weight: bold;">as</span> sysdba
Connected <span style="color: #008800; font-weight: bold;">to</span> an idle instance.
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> startup nomount pfile<span style="color: #333333;">=/</span>u01<span style="color: #333333;">/</span>pfile.ora
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> ORACLE instance started.
Total <span style="color: #008800; font-weight: bold;">System</span> <span style="color: #008800; font-weight: bold;">Global</span> Area <span style="color: #0000dd; font-weight: bold;">246386688</span> bytes
Fixed <span style="color: #008800; font-weight: bold;">Size</span> <span style="color: #0000dd; font-weight: bold;">2286992</span> bytes
<span style="color: #008800; font-weight: bold;">Variable</span> <span style="color: #008800; font-weight: bold;">Size</span> <span style="color: #0000dd; font-weight: bold;">188746352</span> bytes
<span style="color: #008800; font-weight: bold;">Database</span> Buffers <span style="color: #0000dd; font-weight: bold;">50331648</span> bytes
Redo Buffers <span style="color: #0000dd; font-weight: bold;">5021696</span> bytes
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">alter</span> <span style="color: #008800; font-weight: bold;">database</span> mount
<span style="color: #008800; font-weight: bold;">Database</span> altered.
</pre>
</div>
<br />
A continuación lo que vamos a hacer es agregar la configuración de la instancia Far Sync , al DG broker<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">[oracle<span style="color: #333333;">@</span>adg12c <span style="color: #333333;">~</span>] export ORACLE_SID<span style="color: #333333;">=</span>orcl
[oracle<span style="color: #333333;">@</span>adg12c <span style="color: #333333;">~</span>] sqlplus <span style="color: #aa6600;">"/ as sysdba"</span>
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">alter</span> <span style="color: #008800; font-weight: bold;">system</span> <span style="color: #008800; font-weight: bold;">set</span> log_archive_dest_2<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">''</span>;
<span style="color: #008800; font-weight: bold;">System</span> altered.
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> exit
[oracle<span style="color: #333333;">@</span>adg12c <span style="color: #333333;">~</span>] export ORACLE_SID<span style="color: #333333;">=</span>farsync
[oracle<span style="color: #333333;">@</span>adg12c <span style="color: #333333;">~</span>] sqlplus <span style="color: #aa6600;">"/ as sysdba"</span>
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">alter</span> <span style="color: #008800; font-weight: bold;">system</span> <span style="color: #008800; font-weight: bold;">set</span> log_archive_dest_2<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">''</span>;
<span style="color: #008800; font-weight: bold;">System</span> altered.
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> exit
[oracle<span style="color: #333333;">@</span>adg12c <span style="color: #333333;">~</span>] export ORACLE_SID<span style="color: #333333;">=</span>orcl
[oracle<span style="color: #333333;">@</span>adg12c <span style="color: #333333;">~</span>] dgmgrl
DGMGRL<span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">connect</span> sys<span style="color: #333333;">/</span>oracle
Connected <span style="color: #008800; font-weight: bold;">as</span> SYSDG.
DGMGRL<span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">add</span> far_sync farsync <span style="color: #008800; font-weight: bold;">as</span> <span style="color: #008800; font-weight: bold;">connect</span> identifier <span style="color: #008800; font-weight: bold;">is</span> farsync;
far sync instance <span style="color: #aa6600;">"farsync"</span> added
DGMGRL<span style="color: #333333;">></span> enable far_sync farsync;
Enabled.
DGMGRL<span style="color: #333333;">></span> exit
[oracle<span style="color: #333333;">@</span>adg12c <span style="color: #333333;">~</span>] export ORACLE_SID<span style="color: #333333;">=</span>orcl
[oracle<span style="color: #333333;">@</span>adg12c <span style="color: #333333;">~</span>] sqlplus <span style="color: #aa6600;">"/ as sysdba"</span>
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">alter</span> <span style="color: #008800; font-weight: bold;">system</span> <span style="color: #008800; font-weight: bold;">set</span> log_archive_dest_2<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'service="orclstby"'</span>,<span style="background-color: #fff0f0;">'ASYNC NOAFFIRM delay=0 optional compression=disable max_failure=0 max_connections=1 reopen=300 db_unique_name="orclstby" net_timeout=30'</span>,<span style="background-color: #fff0f0;">'valid_for=(online_logfile,all_roles)'</span>;
<span style="color: #008800; font-weight: bold;">System</span> altered.
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> exit
[oracle<span style="color: #333333;">@</span>adg12c <span style="color: #333333;">~</span>] export ORACLE_SID<span style="color: #333333;">=</span>farsync
[oracle<span style="color: #333333;">@</span>adg12c <span style="color: #333333;">~</span>] sqlplus <span style="color: #aa6600;">"/ as sysdba"</span>
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">alter</span> <span style="color: #008800; font-weight: bold;">system</span> <span style="color: #008800; font-weight: bold;">set</span> log_archive_dest_2<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'SERVICE=orclstby ASYNC VALID_FOR=(STANDBY_LOGFILES,STANDBY_ROLE) DB_UNIQUE_NAME=orclstby'</span>;
<span style="color: #008800; font-weight: bold;">System</span> altered.
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">create</span> spfile <span style="color: #008800; font-weight: bold;">from</span> pfile<span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'/u01/pfile.ora'</span>;
File created.
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> shutdown <span style="color: #008800; font-weight: bold;">immediate</span>;
ORA<span style="color: #333333;">-</span><span style="color: #0000dd; font-weight: bold;">01109</span>: <span style="color: #008800; font-weight: bold;">database</span> <span style="color: #008800; font-weight: bold;">not</span> <span style="color: #008800; font-weight: bold;">open</span>
<span style="color: #008800; font-weight: bold;">Database</span> dismounted.
ORACLE instance shut down.
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> startup mount;
ORACLE instance started.
Total <span style="color: #008800; font-weight: bold;">System</span> <span style="color: #008800; font-weight: bold;">Global</span> Area <span style="color: #0000dd; font-weight: bold;">246386688</span> bytes
Fixed <span style="color: #008800; font-weight: bold;">Size</span> <span style="color: #0000dd; font-weight: bold;">2286992</span> bytes
<span style="color: #008800; font-weight: bold;">Variable</span> <span style="color: #008800; font-weight: bold;">Size</span> <span style="color: #0000dd; font-weight: bold;">188746352</span> bytes
<span style="color: #008800; font-weight: bold;">Database</span> Buffers <span style="color: #0000dd; font-weight: bold;">50331648</span> bytes
Redo Buffers <span style="color: #0000dd; font-weight: bold;">5021696</span> bytes
<span style="color: #008800; font-weight: bold;">Database</span> mounted.
<span style="color: #008800; font-weight: bold;">SQL</span><span style="color: #333333;">></span> exit
</pre>
</div>
<br />
Una vez que completamos estos pasos, vamos a hacer los mismos , reemplazando la instancia farsync (ORACLE_SID=farsync) , por farsync2 (ORACLE_SID=farsync2) , y así tenemos nuestras dos instancias Far Sync.<br />
<br />
Lo que sigue es que tenemos que configurar las rutas con la propiedad de RedoRoutes conectandonos a la BD orcl.<br />
<br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">[oracle<span style="color: #333333;">@</span>adg12c <span style="color: #333333;">~</span>]<span style="background-color: #ffaaaa; color: red;">$</span> . oraenv
ORACLE_SID <span style="color: #333333;">=</span> [orcl] <span style="color: #333333;">?</span> orcl
The Oracle base remains unchanged <span style="color: #008800; font-weight: bold;">with</span> value <span style="color: #333333;">/</span>u01<span style="color: #333333;">/</span>app<span style="color: #333333;">/</span>oracle
[oracle<span style="color: #333333;">@</span>adg12c <span style="color: #333333;">~</span>]<span style="background-color: #ffaaaa; color: red;">$</span> dgmgrl
DGMGRL<span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">connect</span> sys<span style="color: #333333;">/</span>oracle
Connected <span style="color: #008800; font-weight: bold;">as</span> SYSDG.
DGMGRL<span style="color: #333333;">></span> EDIT <span style="color: #008800; font-weight: bold;">DATABASE</span> orcl <span style="color: #008800; font-weight: bold;">SET</span> PROPERTY <span style="background-color: #fff0f0;">'RedoRoutes'</span> <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">'( LOCAL : farsync SYNC)'</span>;
Property <span style="color: #aa6600;">"RedoRoutes"</span> updated
DGMGRL<span style="color: #333333;">></span> EDIT FAR_SYNC farsync <span style="color: #008800; font-weight: bold;">SET</span> PROPERTY <span style="background-color: #fff0f0;">'RedoRoutes'</span> <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">'(orcl : orclstby ASYNC)'</span>;
Property <span style="color: #aa6600;">"RedoRoutes"</span> updated
DGMGRL<span style="color: #333333;">></span> EDIT FAR_SYNC farsync2 <span style="color: #008800; font-weight: bold;">SET</span> PROPERTY <span style="background-color: #fff0f0;">'RedoRoutes'</span> <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">'(orclstby : orcl ASYNC)'</span>;
Property <span style="color: #aa6600;">"RedoRoutes"</span> updated
DGMGRL<span style="color: #333333;">></span> EDIT <span style="color: #008800; font-weight: bold;">DATABASE</span> orclstby <span style="color: #008800; font-weight: bold;">SET</span> PROPERTY <span style="background-color: #fff0f0;">'RedoRoutes'</span> <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">'(LOCAL : farsync2 FASTSYNC)'</span>;
Property <span style="color: #aa6600;">"RedoRoutes"</span> updated
</pre>
</div>
<br />
Ahora vamos a configurar los umbrales de aplicación y transporte en el retraso y de desconexión<br />
<br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">DGMGRL<span style="color: #333333;">></span> edit <span style="color: #008800; font-weight: bold;">database</span> orclstby <span style="color: #008800; font-weight: bold;">set</span> property TransportDisconnectedThreshold<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>;
Property <span style="color: #aa6600;">"transportdisconnectedthreshold"</span> updated
DGMGRL<span style="color: #333333;">></span> edit <span style="color: #008800; font-weight: bold;">database</span> orclstby <span style="color: #008800; font-weight: bold;">set</span> property transportlagthreshold<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>;
Property <span style="color: #aa6600;">"transportlagthreshold"</span> updated
DGMGRL<span style="color: #333333;">></span> edit <span style="color: #008800; font-weight: bold;">database</span> orcl <span style="color: #008800; font-weight: bold;">set</span> property TransportDisconnectedThreshold<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>;
Property <span style="color: #aa6600;">"transportdisconnectedthreshold"</span> updated
DGMGRL<span style="color: #333333;">></span> edit <span style="color: #008800; font-weight: bold;">database</span> orcl <span style="color: #008800; font-weight: bold;">set</span> property transportlagthreshold<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>;
Property <span style="color: #aa6600;">"transportlagthreshold"</span> updated
DGMGRL<span style="color: #333333;">></span> edit far_sync farsync <span style="color: #008800; font-weight: bold;">set</span> property TransportDisconnectedThreshold<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>;
Property <span style="color: #aa6600;">"transportdisconnectedthreshold"</span> updated
DGMGRL<span style="color: #333333;">></span> edit far_sync farsync <span style="color: #008800; font-weight: bold;">set</span> property transportlagthreshold<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>;
Property <span style="color: #aa6600;">"transportlagthreshold"</span> updated
DGMGRL<span style="color: #333333;">></span> edit far_sync farsync2 <span style="color: #008800; font-weight: bold;">set</span> property TransportDisconnectedThreshold<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>;
Property <span style="color: #aa6600;">"transportdisconnectedthreshold"</span> updated
DGMGRL<span style="color: #333333;">></span> edit far_sync farsync2 <span style="color: #008800; font-weight: bold;">set</span> property transportlagthreshold<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>;
Property <span style="color: #aa6600;">"transportlagthreshold"</span> updated
DGMGRL<span style="color: #333333;">></span> edit <span style="color: #008800; font-weight: bold;">database</span> orcl <span style="color: #008800; font-weight: bold;">set</span> property ApplyLagThreshold<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>;
Property <span style="color: #aa6600;">"applylagthreshold"</span> updated
DGMGRL<span style="color: #333333;">></span> edit <span style="color: #008800; font-weight: bold;">database</span> orclstby <span style="color: #008800; font-weight: bold;">set</span> property ApplyLagThreshold<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">0</span>;
Property <span style="color: #aa6600;">"applylagthreshold"</span> updated
DGMGRL<span style="color: #333333;">></span> edit <span style="color: #008800; font-weight: bold;">database</span> orclstby <span style="color: #008800; font-weight: bold;">set</span> property logxptmode<span style="color: #333333;">=</span>sync;
Property <span style="color: #aa6600;">"logxptmode"</span> updated
</pre>
</div>
<br />
Vamos a ver como quedo nuestra configuración de nuestras instancias de Far Sync<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">DGMGRL<span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">show</span> configuration;
Configuration <span style="color: #333333;">-</span> DGCONFIG
Protection <span style="color: #008800; font-weight: bold;">Mode</span>: MaxPerformance
Databases:
orcl <span style="color: #333333;">-</span> <span style="color: #008800; font-weight: bold;">Primary</span> <span style="color: #008800; font-weight: bold;">database</span>
farsync <span style="color: #333333;">-</span> Far Sync
orclstby <span style="color: #333333;">-</span> Physical standby <span style="color: #008800; font-weight: bold;">database</span>
farsync2 <span style="color: #333333;">-</span> Far Sync (inactive)
Fast<span style="color: #333333;">-</span><span style="color: #008800; font-weight: bold;">Start</span> Failover: DISABLED
Configuration Status:
SUCCESS
</pre>
</div>
<br />
Si te fijas, la instancia farsync2 esta inactiva, ya que esta le pertenece a la BD standby (orclstby),de igual manera ahora verificamos que la BD orcl este lista para un switchover<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">DGMGRL<span style="color: #333333;">></span> validate <span style="color: #008800; font-weight: bold;">database</span> orcl;
<span style="color: #008800; font-weight: bold;">Database</span> <span style="color: #008800; font-weight: bold;">Role</span>: <span style="color: #008800; font-weight: bold;">Primary</span> <span style="color: #008800; font-weight: bold;">database</span>
Ready <span style="color: #008800; font-weight: bold;">for</span> Switchover: Yes
</pre>
</div>
<br />
Ya que verificamos que si esta lista para el switchover, vamos a proceder a hacerlo hacia orclstby<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">DGMGRL<span style="color: #333333;">></span> switchover <span style="color: #008800; font-weight: bold;">to</span> orclstby;
Performing switchover NOW, please wait...
<span style="color: #008800; font-weight: bold;">Operation</span> requires a <span style="color: #008800; font-weight: bold;">connection</span> <span style="color: #008800; font-weight: bold;">to</span> instance <span style="color: #aa6600;">"orclstby"</span> <span style="color: #008800; font-weight: bold;">on</span> <span style="color: #008800; font-weight: bold;">database</span> <span style="color: #aa6600;">"orclstby"</span>
Connecting <span style="color: #008800; font-weight: bold;">to</span> instance <span style="color: #aa6600;">"orclstby"</span>...
Connected <span style="color: #008800; font-weight: bold;">as</span> SYSDBA.
<span style="color: #008800; font-weight: bold;">New</span> <span style="color: #008800; font-weight: bold;">primary</span> <span style="color: #008800; font-weight: bold;">database</span> <span style="color: #aa6600;">"orclstby"</span> <span style="color: #008800; font-weight: bold;">is</span> opening...
<span style="color: #008800; font-weight: bold;">Operation</span> requires startup <span style="color: #008800; font-weight: bold;">of</span> instance <span style="color: #aa6600;">"orcl"</span> <span style="color: #008800; font-weight: bold;">on</span> <span style="color: #008800; font-weight: bold;">database</span> <span style="color: #aa6600;">"orcl"</span>
Starting instance <span style="color: #aa6600;">"orcl"</span>...
ORACLE instance started.
<span style="color: #008800; font-weight: bold;">Database</span> mounted.
<span style="color: #008800; font-weight: bold;">Database</span> opened.
Switchover succeeded, <span style="color: #008800; font-weight: bold;">new</span> <span style="color: #008800; font-weight: bold;">primary</span> <span style="color: #008800; font-weight: bold;">is</span> <span style="color: #aa6600;">"orclstby"</span>
</pre>
</div>
<br />
Ahora que la BD orclstby es la primaria, y orcl es la BD es la standby , vamos a checar la configuración de nuevo, y veras que la instancia farsync2 es la instancia Far Sync activa, y la instancia farsync2 va a estar inactiva<br />
<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">DGMGRL<span style="color: #333333;">></span> <span style="color: #008800; font-weight: bold;">show</span> configuration;
Configuration <span style="color: #333333;">-</span> DGCONFIG
Protection <span style="color: #008800; font-weight: bold;">Mode</span>: MaxPerformance
Databases:
orclstby <span style="color: #333333;">-</span> <span style="color: #008800; font-weight: bold;">Primary</span> <span style="color: #008800; font-weight: bold;">database</span>
farsync2 <span style="color: #333333;">-</span> Far Sync
orcl <span style="color: #333333;">-</span> Physical standby <span style="color: #008800; font-weight: bold;">database</span>
farsync <span style="color: #333333;">-</span> Far Sync (inactive)
Fast<span style="color: #333333;">-</span><span style="color: #008800; font-weight: bold;">Start</span> Failover: DISABLED
Configuration Status:
SUCCESS
</pre>
</div>
<br />
<b>Conclusión</b><br />
<br />
Este tipo de configuración te va a permitir tener "casi cero" perdida de datos, sin perjudicar tu BD primaria por los estados latentes de tu red. Así como tener la misma configuración cuando hagas un switchover de tus BDs.<br />
<br />
<br />
<br />
<br />
<br />
<br />Anonymoushttp://www.blogger.com/profile/16707526771327328274noreply@blogger.com0