Create your own Oracle Staging Environment, Last Part: Staging the GI and the RAC database

January 23, 2015 — Leave a comment

this is the last very short post of this series:

Create your own Oracle Staging Environment, Part 1: The Staging Server
Create your own Oracle Staging Environment, Part 2: Kickstart File(s) and Profiles
Create your own Oracle Staging Environment, Part 3: Setup the lab environment
Create your own Oracle Staging Environment, Part 4: Staging the GI

at the end of the last post the GI was up and running. from this point onwards it would be easy to use dbca or scripts to setup a RAC database. but we can even automate this. updated script:

finish_gi_setup_rac.sh

save this under /var/www/html/finish_gi_setup.sh on the cobbler vm and fire up the vms. the result is:

crsctl stat res -t
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.CRS_DG.dg
               ONLINE  ONLINE       mylabp1vm1                                   
               ONLINE  ONLINE       mylabp1vm2                                   
ora.DATA.dg
               ONLINE  ONLINE       mylabp1vm1                                   
               ONLINE  ONLINE       mylabp1vm2                                   
ora.FRA.dg
               ONLINE  ONLINE       mylabp1vm1                                   
               ONLINE  ONLINE       mylabp1vm2                                   
ora.LISTENER.lsnr
               ONLINE  ONLINE       mylabp1vm1                                   
               ONLINE  ONLINE       mylabp1vm2                                   
ora.LISTENER_ASM.lsnr
               ONLINE  ONLINE       mylabp1vm1                                   
               ONLINE  ONLINE       mylabp1vm2                                   
ora.asm
               ONLINE  ONLINE       mylabp1vm1               Started             
               ONLINE  ONLINE       mylabp1vm2               Started             
ora.gsd
               OFFLINE OFFLINE      mylabp1vm1                                   
               OFFLINE OFFLINE      mylabp1vm2                                   
ora.net1.network
               ONLINE  ONLINE       mylabp1vm1                                   
               ONLINE  ONLINE       mylabp1vm2                                   
ora.ons
               ONLINE  ONLINE       mylabp1vm1                                   
               ONLINE  ONLINE       mylabp1vm2                                   
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       mylabp1vm2                                   
ora.cvu
      1        ONLINE  ONLINE       mylabp1vm2                                   
ora.mylabp1vm1.vip
      1        ONLINE  ONLINE       mylabp1vm1                                   
ora.mylabp1vm2.vip
      1        ONLINE  ONLINE       mylabp1vm2                                   
ora.oc4j
      1        ONLINE  ONLINE       mylabp1vm2                                   
ora.racdb.db
      1        ONLINE  ONLINE       mylabp1vm2               Open                
      2        ONLINE  ONLINE       mylabp1vm1               Open                
ora.scan1.vip
      1        ONLINE  ONLINE       mylabp1vm2                         

No Comments

Be the first to start the conversation!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.