Re: Enterprise Manager Provisioning

  • From: Job Miller <jobmiller@xxxxxxxxx>
  • To: "Hemant.Chitale@xxxxxx" <Hemant.Chitale@xxxxxx>, "oracle-l@xxxxxxxxxxxxx" <oracle-l@xxxxxxxxxxxxx>
  • Date: Wed, 2 Nov 2011 05:32:18 -0700 (PDT)

If you are talking about the simplified "Clone Home" link, you can see most of 
the output of the various steps it executes in the clone home procedure (at 
least for 10g EM) here:
http://www.oracle.com/technetwork/articles/mass-provisioning-177500.html

It runs the OUI..

./bin/java 
-cp 
"/app/oracle/product/em/agent10g/oui/jlib/xmlparserv2.jar":"/app/oracle/product/em/agent10g/oui/jlib/OraInstaller.jar":"/app/oracle/product/em/agent10g/jlib/emCfg.jar":
"/app/oracle/product/em/agent10g/oui/jlib/srvm.jar":"/app/oracle/product/em/agent10g/oui/jlib/share.jar":"/app/oracle/product/em/agent10g/sysman/jlib/emd_java.jar":
"/app/oracle/product/em/agent10g/sysman/jlib/emagentSDK.jar":"/app/oracle/product/em/agent10g/sysman/jlib/emcoreAgent.jar":"/app/oracle/product/em/agent10g/sysman/jlib/log4j-core.jar"
 
-Doracle.installer.oui_loc="/app/oracle/product/em/agent10g/oui" 
oracle.sysman.emd.ecm.clone.DestEnvironment -isPreCloneNeeded 
"/app/oracle/product/10.2/db_7" |chdir(/app/oracle/product/10.2/db_7/clone/bin)

/app/oracle/product/em/agent10g/perl/bin/perl ./clone.pl -waitForCompletion 
ORACLE_HOME="/app/oracle/product/10.2/db_7" 
ORACLE_HOME_NAME="OraDb10g_clonehome" 
oracle.rdbms:11.1.0.6.0:s_nameForOPERGrp=oinstall 
oracle.rdbms:11.1.0.6.0:s_nameForDBAGrpÛa 
oracle.rdbms:11.1.0.6.0:s_nameForASMGrp=oinstall 
REMOTE_NODES={} ORACLE_BASE=/app/oracle/product LOCAL_NODE= CLUSTER_NODES={}   
2>&1

./runInstaller -silent -clone -waitForCompletion  -waitForCompletion  
"ORACLE_HOME=/app/oracle/product/10.2/db_7" 
"ORACLE_HOME_NAME=OraDb10g_clonehome" 
"oracle.rdbms:11.1.0.6.0:s_nameForOPERGrp=oinstall" 
"oracle.rdbms:11.1.0.6.0:s_nameForDBAGrpÛa" 
"oracle.rdbms:11.1.0.6.0:s_nameForASMGrp=oinstall" "REMOTE_NODES={}" 
"ORACLE_BASE=/app/oracle/product" "LOCAL_NODE=" "CLUSTER_NODES={}" -silent 


Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 1709 MB    Passed
Preparing to launch Oracle Universal Installer from 
/tmp/OraInstall2010-05-09_08-50-39AM. Please wait ...Oracle Universal 
Installer, Version 11.1.0.6.0 Production
Copyright (C) 1999, 2007, Oracle. All rights reserved.

You can find the log of this install session at:
/app/oracle/product/oraInventory/logs/cloneActions2010-05-09_08-50-39AM.log
....................................................................................................
 100% Done.

Installation in progress (Sun May 09 08:51:06 CDT 2010)
.............................................................................   
                                                77% Done.
Install successful

Linking in progress (Sun May 09 08:51:25 CDT 2010)
Link successful

Setup in progress (Sun May 09 08:53:03 CDT 2010)
Setup successful

End of install phases.(Sun May 09 08:53:08 CDT 2010)
WARNING:
The following configuration scripts need to be executed as the "root" user.
#!/bin/sh
#Root script to run
/app/oracle/product/10.2/db_7/root.sh
To execute the configuration scripts:
1. Open a terminal window
2. Log in as "root"
3. Run the scripts

The cloning of OraDb10g_clonehome was successful.
Please check 
'/app/oracle/product/oraInventory/logs/cloneActions2010-05-09_08-50-39AM.log' 
for more details.

rmtree(/app/oracle/tmp/oemchd8627D0F9DD8A4EA6E040928D4B1A6F45, 0, 0)
2 



It goes on to say, that the new "Deployment Procedures" are much more flexible.

You can review the Deployment Procedures and see every step of what they do 
through EM console.    It isn't so much that Provisioning does something that 
you can't script, it is that it makes it easier to do, more automated, and 
provides a framework for you to leverage for your own extensions to the 
automation organizations want when growing their infrastructure.

Job


________________________________
From: "Chitale, Hemant Krishnarao" <Hemant.Chitale@xxxxxx>
To: oracle-l@xxxxxxxxxxxxx
Sent: Wednesday, November 2, 2011 2:30 AM
Subject: Enterprise Manager Provisioning

I've never used Enterprise Manager Provisioning.

To "copy" an ORACLE_HOME without re-running the OUI :
I have used "tar"  in V7 and V8.
I have used "tar" followed by "runInstaller -detachhome"  and
"runInstaller -attachhome"  in 10g
(Some years ago I did 50 9i Client and 15 Server installs in a month,
using OUI).


Does OEM Provisioning only use "scp"   ?
Does it execute a "relink all"  ?
Does it run "runInstaller -attachhome" in the background ?

Hemant K Chitale 
--
//www.freelists.org/webpage/oracle-l


Other related posts: