![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Solution Type Technical Instruction Sure Solution 2054804.1 : ODA (Oracle Database Appliance): How To Setup a Rapid Home Provisioning (RHP) Server and Client
In this Document
Applies to:Oracle Database Appliance Software - Version 12.1.2 and laterOracle Database Appliance - Version All Versions to All Versions [Release All Releases] Information in this document applies to any platform. GoalTo provide the steps to setup a Rapid Home Provisioning (RHP) Server on ODA (Oracle Database Appliance). SolutionIntroductionRapid Home Provisioning (RHP) represents a standard way for provisioning, patching and upgrading at organizational level, in a unified manner, across all architectural layers of software infrastructure – Oracle databases and custom software.
Note: in order to provide an Oracle Home (workingcopy) to an RHP Client are needed about 60min if LOCAL, 30min if by NFS (storagetype NFS). Many operations are needed like DBHome cloning, relink, etc.
Using the rhpctl utility, gold images can be imported from an installed home on ODA RHP server (Oracle Home created with 'oakcli create dbhome' command), or promoted from an installed home or working copy on any of the RHP clients. An existing working copy can be promoted to a gold image.
Using RHP on ODA, we can provision Oracle DB software for the various versions
RHP does support more RDBMS versions, however the list above is related to the versions available for ODA as EndUser RDBMS clone file.
It's recommended on ODA RHP Server to use GI (Grid Infrastructure) version 12.2.0.1_171017 or later. Using Rapid Home ProvisioningRapid Home Provisioning requires ASM, the Management DB and the Grid Naming Service (GNS). As part of the Grid Infrastructure deploy on ODA
# $GRID_HOME/bin/srvctl status mgmtdb
Database is enabled Instance -MGMTDB is running on node oda101 As the Management DB (MGMTDB) is doing a key role with the RHP, you should consider to setup a backup for it, in particular for the schema: 'GHSUSER' (for example using expdp). You need to configure the GNS such that a GNS VIP is provided. A GNS sub-domain is not required by RHP. Note:
you could skip the manual steps to setup RHP Server using "setrhp" the "1-Click" utility described on Note:2124322.1 - ODA (Oracle Database Appliance): Rapid Home Provisioning (RHP) setup in "1-Click" GNS Setup on ODAExecute the following command as root, providing a valid IP address (domain is not needed on RHP): # $GRID_HOME/bin/srvctl add gns -vip <IP_address> example: # /u01/app/12.2.0.1/grid/bin/srvctl status gns
Note: currently the GNS setup is required on RHP Server only. We advertise to GNS the exact host and port where RHP Server is running which is used by RHP Clients to connect to RHP Server.
Once the GNS is configured the Rapid Home Provisioning server can be configured. Creating a Rapid Home Provisioning ServerThe Rapid Home Provisioning Server uses an Oracle ACFS file system for Oracle database software homes that will be published to clients. To configure the Rapid Home Provisioning Server you will need to:
As HANFS requires NFS in order to run. It is assumed that NFS (and its associated needs) will be started by init scripts at node boot time. NFS will need to be running on both ODA nodes. We can check this on each node issuing: # service rpcbind status
rpcbind (pid 13256) is running... # service nfs status rpc.mountd (pid 13858) is running... nfsd (pid 13855 13854 13853 13852 13851 13850 13849 13848 13847 13846 13845 13844 13843 13842 13841 13840 13839 13838 13837 13836 13835 13834 13833 13832 13831 13830 13829 13828 13827 13826 13825 13824 13823 13822 13821 13820 13819 13818 13817 13816 13815 13814 13813 13812 13811 13810 13809 13808 13807 13806 13805 13804 13803 13802 13801 13800 13799 13798 13797 13796 13795 13794 13793 13792 13791 13790 13789 13788 13787 13786 13785 13784 13783 13782 13781 13780 13779 13778 13777 13776 13775 13774 13773 13772 13771 13770 13769 13768 13767 13766 13765 13764 13763 13762 13761 13760 13759 13758 13757 13756 13755 13754 13753 13752 13751 13750 13749 13748 13747 13746 13745 13744 13743 13742 13741 13740 13739 13738 13737 13736 13735 13734 13733 13732 13731 13730 13729 13728) is running... rpc.rquotad (pid 13713) is running... # service nfslock status rpc.statd (pid 23372) is running... If one of these is not running, you could start it by using (as root): /etc/init.d/<service> status
The 'chkconfig' command can be used to ensure that these services are started at boot time chkconfig nfs on
chkconfig rpcbind on chkconfig nfslock on Once the pre-requisites mentioned above have been met, the RHP server can be added to Grid Infrastructure and started. ODA RHP Server: Create the Rapid Home Provisioning Server resourceAssuming DATA diskgroup usage, and '/rhp_storage' as ACFS mount point, issue the following command (as 'root' user): # $GRID_HOME/bin/srvctl add rhpserver -storage <rhp_acfs-storage_path> -diskgroup <disk_group_name>
example: /u01/app/12.2.0.1/grid/bin/srvctl add rhpserver -storage /rhp_storage -diskgroup DATA Note: The storage path "/rhp_storage" is automatically created by srvctl
You can check the status for rhp server doing: # $GRID_HOME/bin/srvctl status rhpserver
Rapid Home Provisioning Server is enabled Rapid Home Provisioning Server is not running On both ODA RHP Server nodes at this time, you have a new ACFS mount point: [root@oda101 ~]# mount ODA RHP Server: Start the Rapid Home Provisioning Server resourceIssue the following command (as 'root' user): # $GRID_HOME/bin/srvctl start rhpserver example: ODA RHP Server: HA-VIP setupOn the RHP server as the Grid Infrastructure owner determine if an HA-VIP has been created (as 'grid' user): $ $GRID_HOME/bin/srvctl config havip
HAVIP exists: /rhphavip/10.245.51.64, network number 1 Description: Home Node: HAVIP is enabled. HAVIP is individually enabled on nodes: HAVIP is individually disabled on nodes: If it's not configured, you need to issue the following command (as root): # $GRID_HOME/bin/srvctl add havip -id id -address {host_name | ip_address}
example [root@oda101 ~]# /u01/app/12.2.0.1/grid/bin/srvctl add havip -id rhphavip -address 10.245.51.64 ODA RHP Server: Create client data fileOn RHP Server create the RHP client configuration file (as 'grid' user), RHPCTL creates the client data file in the directory path you specify after the -toclientdata flag. The name of the client data file is "client_cluster_name".xml: $GRID_HOME/bin/rhpctl add client -client <client_cluster_name> -toclientdata <path>
example: [grid@oda101 ~]$ /u01/app/12.2.0.1/grid/bin/rhpctl add client -client odaremote1-c -toclientdata /home/grid oda101.us.oracle.com: Creating client data ... oda101.us.oracle.com: Client data created for user "odaremote-c". [grid@oda101 ~]$ ls –al /home/grid/stormcloud-cluster.xml -rw-r—-r-- 1 grid oinstall 3158 Oct 31 21:59 /home/grid/odaremote-c.xml
Note: to get the (RHP Client) cluster name (as grid user) issue the following command:
$GRID_HOME/bin/cemutlo -n
move the RHP Client config file created above to the RHP Client: example:
[grid@oda101 ~]$ scp odaremote-c.xml root@odaremote1:/home/grid At this time you should configure the RHP Client. RHP Client setupPerform the following actions on the RHP client cluster (as 'root' user):
$GRID_HOME/bin/srvctl add rhpclient –clientdata <path/rhpclient_configfile.xml>
$GRID_HOME/bin/srvctl start rhpclient example: [root@odaremote1 ~]# /u01/app/12.1.0.2/grid/bin/srvctl add rhpclient -clientdata /home/grid/odaremote-c.xml [root@odaremote1 ~]# /u01/app/12.1.0.2/grid/bin/srvctl status rhpclient Rapid Home Provisioning Client is enabled Rapid Home Provisioning Client is not running [root@odaremote1 ~]# /u01/app/12.1.0.2/grid/bin/srvctl start rhpclient The command “srvctl add rhpclient” has two optional arguments: -diskgroup <dg_name> A disk group from which to create the ACFS file systems for image storage.
-storage <base_path> A location which is available on every cluster node and is not necessarily shared. This location does not need to exist during adding of Rapid Home Provisioning Client. Scenarios to Use Rapid Home ProvisioningAdding Gold Images to the ODA Rapid Home Provisioning ServerRapid Home Provisioning Server stores and serves gold images of software homes. These gold images must be instantiated on the ODA Rapid Home Provisioning Server. Gold images are read-only, preventing a client from running programs from them. Gold images are not used as software homes directly. Rather, the gold image is used to create working copies. These working copies are usable as software homes on RHP Client. The DBA can import software to the ODA Rapid Home Provisioning Server using any one of the following methods: - Import a gold image from an installed home on the ODA Rapid Home Provisioning Server using the following command: rhpctl import image -image <image name> -path <source oracle home path> -imagetype ORACLEDBSOFTWARE
- Import a gold image from an installed home on a Rapid Home Provisioning Client, using the following command run from the RHP Client: rhpctl import image –image <image name> –path <source oracle home path>
- Promote an existing workingcopy to a gold image using the following command: rhpctl add image –image <image name> -workingcopy <workingcopy name>
As example, let's suppose you have created several Oracle homes (on ODA RHP Server) using the ODA command: 'oakcli create dbhome' # oakcli show dbhomes
Oracle Home Name Oracle Home version Home Location ---------------- ------------------- ------------ OraDb11203_home1 11.2.0.3.14(20299017,17592127) /u01/app/oracle/product/11.2.0.3/dbhome_1 OraDb11204_home1 11.2.0.4.6(20299013) /u01/app/oracle/product/11.2.0.4/dbhome_1 OraDb12102_home1 12.1.0.2..4(20831110,20831113) /u01/app/oracle/product/12.1.0.2/dbhome_1 You could make them available as gold image issuing the following command (as 'grid' user): example:
$ /u01/app/12.2.0.1/grid/bin/rhpctl import image -image OraDb11203_home1 -path /u01/app/oracle/product/11.2.0.3/dbhome_1 -imagetype ORACLEDBSOFTWARE slcac464.us.oracle.com: Creating a new ACFS file system for image "OraDb11203_home1" ... slcac464.us.oracle.com: Copying files... slcac464.us.oracle.com: Copying home contents... slcac464.us.oracle.com: Changing the home ownership to user oracle... slcac464.us.oracle.com: Transferring data to 1 nodes slcac464.us.oracle.com: 10% complete slcac464.us.oracle.com: 20% complete slcac464.us.oracle.com: 30% complete slcac464.us.oracle.com: 40% complete slcac464.us.oracle.com: 50% complete slcac464.us.oracle.com: 60% complete slcac464.us.oracle.com: 70% complete slcac464.us.oracle.com: 80% complete slcac464.us.oracle.com: 90% complete slcac464.us.oracle.com: 100% complete slcac464.us.oracle.com: Changing the home ownership to user grid... $ /u01/app/12.2.0.1/grid/bin/rhpctl import image -image OraDb11204_home1 -path /u01/app/oracle/product/11.2.0.4/dbhome_1 -imagetype ORACLEDBSOFTWARE slcac464.us.oracle.com: Creating a new ACFS file system for image "OraDb11204_home1" ... slcac464.us.oracle.com: Copying files... slcac464.us.oracle.com: Copying home contents... slcac464.us.oracle.com: Changing the home ownership to user oracle... slcac464.us.oracle.com: Transferring data to 1 nodes slcac464.us.oracle.com: 10% complete slcac464.us.oracle.com: 20% complete slcac464.us.oracle.com: 30% complete slcac464.us.oracle.com: 40% complete slcac464.us.oracle.com: 50% complete slcac464.us.oracle.com: 60% complete slcac464.us.oracle.com: 70% complete slcac464.us.oracle.com: 80% complete slcac464.us.oracle.com: 90% complete slcac464.us.oracle.com: 100% complete slcac464.us.oracle.com: Changing the home ownership to user grid... $ /u01/app/12.2.0.1/grid/bin/rhpctl import image -image OraDb12102_home1 -path /u01/app/oracle/product/12.1.0.2/dbhome_1 -imagetype ORACLEDBSOFTWARE slcac464.us.oracle.com: Creating a new ACFS file system for image "OraDb12102_home1" ... slcac464.us.oracle.com: Copying files... slcac464.us.oracle.com: Copying home contents... slcac464.us.oracle.com: Changing the home ownership to user oracle... slcac464.us.oracle.com: Transferring data to 1 nodes slcac464.us.oracle.com: 10% complete slcac464.us.oracle.com: 20% complete slcac464.us.oracle.com: 30% complete slcac464.us.oracle.com: 40% complete slcac464.us.oracle.com: 50% complete slcac464.us.oracle.com: 60% complete slcac464.us.oracle.com: 70% complete slcac464.us.oracle.com: 80% complete slcac464.us.oracle.com: 90% complete slcac464.us.oracle.com: 100% complete slcac464.us.oracle.com: Changing the home ownership to user grid... Note as at this time you will have three new ACFS filesystems (for every single rhpctl import command, a new ACFS mount point will be created): $ df -h
Filesystem Size Used Avail Use% Mounted on (...) /dev/asm/ghchkpt-338 1.0G 141M 884M 14% /rhp_storage/images/chkbase /dev/asm/ghvol960162-338 15G 5.2G 9.9G 35% /rhp_storage/images/iOraDb11203_home1673418 /dev/asm/ghvol439750-338 15G 5.2G 9.9G 35% /rhp_storage/images/iOraDb11204_home1977401 /dev/asm/ghvol937106-338 18G 5.9G 13G 33% /rhp_storage/images/iOraDb12102_home1267449 Database Home provisioningThe command rhpctl add workingcopy is used to provision an ORACLE_HOME for use by an Oracle database. This command can be run on the RHP Server or on the RHP Client. If run on the RHP Server, the command can provision an Oracle database either RHP-server-local or remotely on any RHP Client. When using the rhpctl command on the RHP Server, use the -client option to specify the remote cluster. - Create the mount point for the working copy on all nodes of the RHP Client example:
[root@odaremote1 /]# mkdir -p /u01/rhp_base [root@odaremote1 /]# chown -R oracle:oinstall /u01/rhp_base [root@odaremote2 /]# mkdir -p /u01/rhp_base [root@odaremote2 /]# chown -R oracle:oinstall /u01/rhp_base Database home provisioning (LOCAL)Usage: rhpctl add workingcopy -workingcopy <workingcopy_name> -image <image_name> [-oraclebase <oraclebase_path>] [-path <where_path>] [-storagetype {NFS | LOCAL | RHP_MANAGED}] [-user <user_name>] [-dbname <unique_db_name> [-dbtype {RACONENODE | RAC | SINGLE}] [-datafileDestination <datafileDestination_path>] [-dbtemplate <file_path> | <image_name>:<relative_file_path>] {-node <node_list> | -serverpool <pool_name> [-pqpool <pool_name> | -newpqpool <pool_name> -pqcardinality <cardinality>] | -newpool <pool_name> -cardinality <cardinality> [-pqpool <pool_name> | -newpqpool <pool_name> -pqcardinality <cardinality>]} [-cdb] [-pdbName <pdb_prefix> [-numberOfPDBs <pdb_count>]]] [-client <cluster_name>] [-ignoreprereq]
Provide an Oracle Home to RHP Client available as "oracle" user making it available "locally" (as 'grid' user from RHP Server) example:
[grid@oda101 ~]$ rhpctl add workingcopy -workingcopy WC_OraDb11204_home1 -image OraDb11204_home1 -oraclebase /u01/rhp_base -client odaremote-c -user oracle Note: the path defined by "-oraclebase" must be writable by the user defined by "-user" option
Creating a workingcopy, a new ACFS snapshot of the DB Home gold image will be created, example: [root@oda101 ~]# acfsutil snap info /rhp_storage/images/iOraDb11204_home1977401
snapshot name: wWC_OraDb11204_home1 snapshot location: /rhp_storage/images/iOraDb11204_home1977401/.ACFS/snaps/wWC_OraDb11204_home1 RO snapshot or RW snapshot: RW parent name: /rhp_storage/images/iOraDb11204_home1977401 snapshot creation time: Tue Sep 8 00:58:57 2015 number of snapshots: 1 snapshot space usage: 1614921728 ( 1.50 GB ) Database home provisioning (NFS)Provide an Oracle Home to RHP Client available as "oracle" user making it available by "NFS" (HA-NFS) (as 'grid' user from RHP Server): example:
[grid@oda101 ~]$ rhpctl add workingcopy -workingcopy WC_OraDb11204_home1 -image OraDb11204_home1 -oraclebase /u01/rhp_base -client odaremote-c -storagetype NFS -user oracle Database provisioningUsing RHP 'rhpcli add workingcopy', you can provide also a (RAC, RacOne, Single Instance) database (non-CDB, CDB). Note: In case your RHP Client is an ODA (Oracle Database Appliance), it is not recommended to provision the database using "rhpcli add workingcopy -dbname"
- there is no flexibilty on having the redologs file on REDO diskgroup (SSD) and the recovery files on RECO dg. - the db template used is a generic template and not specialized for ODA - special enhancements are done on ODA to store the database on ACFS filesystem Switch to Managed HomesA DBA can switch databases from an Oracle home that was not provisioned using Rapid Home Provisioning (unmanaged Oracle home) to an Oracle home provisioned and managed by ODA Rapid Home Provisioning Server.
Example: RHP Client [root@odaremote ~]# oakcli show databases ----------------------------------------------------------------------------
[grid@oda101 ~]$ rhpctl query workingcopy [grid@oda101 ~]$ rhpctl move database -sourcehome /u01/app/oracle/product/12.1.0.2/dbhome_2 -client odaremote-c -patchedwc WC_OraDb12102_home1 -dbname odasdb [root@odaremote ~]# oakcli show databases Note: Moving a RAC database from un-managed Oracle Home to an RHP managed Oracle Home by default will be done in rolling mode Database PatchingSimilar to the above scenario, patching involves moving a database from one workingcopy to a new patched workingcopy. rhpctl move database -sourcewc wcDB12PSU1 -patchedwc wcDB12PSU2 –image DBIMGPSU2
This command creates a new ORACLE_HOME based on the patched image, if it does not exist, and then switches all Oracle databases from their current ORACLE_HOME location to the new ORACLE_HOME. By default, patching is performed in a rolling mode. Use the -nonrolling option to perform patching in non-rolling mode. The database is then completely stopped on the old ORACLE_HOME, and is then restarted using the newly patched ORACLE_HOME. rhpctl move database -sourcewc wcDB12PSU1 -patchedwc wcDB12PSU2 -dbname myDB
Standby Database PatchingSimilar to the above scenario, standby database patching involves moving a database oracle home from one workingcopy to a new patched workingcopy without applying any dictionary patch. On ODA RHP Client a standby database is running under 12.1.0.2.0: # oakcli show databases
Name Type Storage HomeName HomeLocation Version ----- ------ -------- -------------- ---------------- ---------- STDBY SINGLE ACFS OraDb12102_home1 /u01/app/oracle/product/12.1.0.2/dbhome_1 12.1.0.2.0 From the ODA RHP Server provide a new OH 12.1.0.2.3 (as 'grid' user): rhpctl add workingcopy -workingcopy WC_OraDb121023_home1 -image OraDb121023_home1 -oraclebase /rhp_oracle_home -client odaremote-c -storagetype NFS -user oracle
Now, on ODA RHP Client a new OH 12.1.0.2.3 is show: # oakcli show dbhomes
Oracle Home Name Oracle Home version Home Location ---------------- ------------------- ------------ OraDb12102_home1 12.1.0.2.0 /u01/app/oracle/product/12.1.0.2/dbhome_1 WC_OraDb121023_home1 12.1.0.2.3(20299023) /rhp_oracle_home/product/12.1.0.2/WC_OraDb121023_home1 At this point we can move the remote standby from binaries 12.1.0.2.0 to 12.1.0.2.3 (patch the standby OH), as 'grid' user: rhpctl move database -sourcehome /u01/app/oracle/product/12.1.0.2/dbhome_1 -client odaremote-c -patchedwc WC_OraDb121023_home1 -dbname STDBY
The STDBY database is now attached to the new OH provided above: # oakcli show databases
Name Type Storage HomeName HomeLocation Version ----- ------ -------- -------------- ---------------- ---------- STDBY SINGLE ACFS WC_OraDb121023_home1 /rhp_oracle_home/product/12.1.0.2/WC_OraDb121023_home1 12.1.0.2.3(20299023) Note: Rapid Home Provisioning is Standby Database aware. The standby database will be in mount state, no db dictionary patches are applied (as part of PSU) waiting them by redo shipping from the primary DB.
ODA RHP Server ConsiderationsOn ODA you can create new Database Home in very simple/fast way, within one command, using Usage: where: In case you need different DBHome version you can get them from the End-User RDBMS Clone files - End User RDBMS Clone file for 12.1.0.2 database home (PSU X, x=1-4)- Patch 19520042 - End User RDBMS Clone file for 11.2.0.2 database home (PSU X, x=7-12)- Patch 14349293 Note: you can use the End-User RDBMS Clone files created for an "early" Oracle Appliance Kit release on a "late" Oracle Appliance version, in example End User RDBMS Clone file for 11.2.0.2.7 (Release Oracle Appliance Kit 2.3.0.0.0 ) on ODA running with oak version 12.1.2.4.0
Once you have the new Database Homes you can create the RHP "Gold Images" and the working copys ODA DB Home patchingIf you need to patch a given oracle home with a new PSU, you could use the oak command: oakcli update -patch <version> --database
and after you should make the updated "local oracle home" available as gold image importing it with the rhpcli command: example:
rhpctl import image -image OraDb11204.15_home1 -path /u01/app/oracle/product/11.2.0.4/dbhome_1 -imagetype ORACLEDBSOFTWARE then you can make it as new workingcopy (in the above example 11.2.0.4.15) DB Home Scenario - Steps to create a new PSU DB HomeExample: # oakcli show dbhomes
Oracle Home Name Oracle Home version Home Location ---------------- ------------------- ------------ OraDb11204_home1 11.2.0.4.6(20299013) /u01/app/oracle/product/11.2.0.4/dbhome_1 [grid@oda101 ~]$ rhpctl query image
Image name: OraDb11203_home1 Image name: OraDb11204_home1 Image name: OraDb12102_home1 - A new PSU is coming (PSU7 --> 11.2.0.4.7 through the ODA Bundle Patch 12.1.2.5.0) $ rhpctl add workingcopy -workingcopy WC_local_OraDb11204_home1 -image OraDb11204_home1 -oraclebase /rhp_oracle_home -user oracle # oakcli show dbhomes Oracle Home Name Oracle Home version Home Location ---------------- ------------------- ------------ OraDb11204_home1 11.2.0.4.6(20299013) /u01/app/oracle/product/11.2.0.4/dbhome_1 WC_lcal_OraDb11204_home1 11.2.0.4.6(20299013) /rhp_storage/images/iOraDb11204_home1977401/.ACFS/snaps/wWC_Local_OraDb11204_home1/swhome - Using oakcli patch the new local working copy (WC_Local_OraDb11204_home1) # oakcli update -patch 12.1.2.5.0 --database
(...) Found the following 11.2.0.4 homes possible for patching: HOME_NAME HOME_LOCATION --------- ------------- WC_Local_OraDb11204_home1 /rhp_storage/images/images/iOraDb11204_home1977401/.ACFS/snaps/wWC_Local_OraDb11204_home1/swhome OraDb11204_home1 /u01/app/oracle/product/11.2.0.4/dbhome_1 [Please note that few of the above database homes may be already up-to-date. They will be automatically ignored] Would you like to patch all the above homes: Y | N ? :n Please enter the comma separated list of database home_names that you do NOT want to patch:OraDb11204_home1 (...) INFO: 2015-09-11 07:49:07: Applying the patch on oracle home: /rhp_storage/images/images/iOraDb11204_home1977401/.ACFS/snaps/wWC_Local_OraDb11204_home1/swhome (...) SUCCESS: 2015-09-11 07:54:12: Successfully applied the patch on home /rhp_storage/images/images/iOraDb11204_home1977401/.ACFS/snaps/wWC_Local_OraDb11204_home1/swhome (...) # oakcli show dbhomes
Oracle Home Name Oracle Home version Home Location ---------------- ------------------- ------------ OraDb11204_home1 11.2.0.4.6(20299013) /u01/app/oracle/product/11.2.0.4/dbhome_1 WC_lcal_OraDb11204_home1 11.2.0.4.7 /rhp_storage/images/iOraDb11204_home1977401/.ACFS/snaps/wWC_Local_OraDb11204_home1/swhome - Create a new Gold Image from the local working copy rhpctl import image -image OraDb112047_home1 -path /rhp_storage/images/iOraDb11204_home1977401/.ACFS/snaps/wWC_Local_OraDb11204_home1/swhome -imagetype ORACLEDBSOFTWARE
You can now provide a new 11.2.0.4.7 workingcopy (to the RHP Client) using the new gold image OraDb112047_home1 created above example:
[grid@oda101 ~]$ rhpctl add workingcopy -workingcopy WC_OraDb112047_home1 -image OraDb112047_home1 -oraclebase /rhp_base -client odaremote-c -storagetype NFS -user oracle Troubleshooting- The RHP Server logs are located at the following location: <oracle_base>/crsdata/<node_name>/rhp
- The RHP Client logs are located at the following location: <gihome>/oc4j/j2ee/home/log/gh*.log
- In order to investigate what an srvctl command is doing: export SRVM_TRACE=TRUE ; SRVCTL_TRACEFILE=/tmp/srv.trc
Depending on the nature of the error, enable additional tracing by defining SRVM_NATIVE_TRACE=TRUE and SRVM_JNI_TRACE=TRUE. This will produce additional jni trace information and is helpful to isolate issue in the jni layer. Referenceshttp://www.oracle.com/technetwork/database/database-cloud/private/rapid-home-provisioning-2405191.pdfhttps://docs.oracle.com/database/121/CWADD/rapidhome.htm#CWADD92402 <NOTE:2124322.1> - ODA (Oracle Database Appliance): Rapid Home Provisioning (RHP) setup in "1-Click" Attachments This solution has no attachment |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|