Silent Installation of Oracle 12c Grid Infrastructure and Oracle ASM

Share Embed Donate


Short Description

12c grid install...

Description

Silent Installation of Oracle 12c Grid Infrastructure and Oracle ASM | House of Brick Technologies

SILENT INSTALLATION OF ORACLE 12C GRID INFRASTRUCTURE AND ORACLE ASM posted October 8, 2015, 2:12 PM by

Andy Kerber, Senior Consultant The intent of this post is to describe the steps to complete a silent installation of Oracle 12c Grid Infrastructure (not clustered) and Oracle ASM. Installing Oracle software in silent mode can be a challenge. It requires close attention to detail, and close documentation review to make sure all the prerequisites are installed prior to the silent install. For a list of Oracle required packages, and installation instructions for those packages, see this previous blog post. That blog also discusses installing X-windows and an X-server, but those are not required for a silent installation. What follows are the step-by-step instructions for a silent installation of Oracle 12c Grid Infrastructure (GI) on a nonclustered server. STEP-BY-STEP INSTRUCTIONS FOR A SILENT INSTALLATION Step 1 Download the Oracle installation media. For Oracle database Enterprise Edition 12c, you will need both the Oracle database and the Grid Infrastructure files in order to install both the database software and the Grid Infrastructure. The download location for the Oracle GI and Database software is here: http://www.oracle.com/technetwork/database/enterprise-edition/downloads/database12c-linux-download2240591.html. Oracle will require you to create an account before you can download the software. If you are properly licensed for Oracle, and have an Oracle CSI, you can download patch 17694377, files 1-4 for Oracle Enterprise Edition only or Patch 21419221, files 1-6 for Oracle Standard Edition 2 and Enterprise Edition. Step 2 Unzip the Grid Infrastructure files. They will automatically unzip into a subdirectory called grid under your working directory. Assuming you are working from /home/oracle, this will be /home/oracle/grid. Step 3 Create your top-level directory for the software installation, typically this is /u01, so the command mkdir -p /u01 will create the directory you need. If the system administrator is doing that, make sure he or she runs the command 'chown oracle:oinstall /u01' after creating the directory.   Step 4

Next and most important, modify the response file to meet your environment. Copy the file ./grid/response/grid_install.rsp to your working directory, typically /home/oracle. Then make changes to the copy of the response file. For this example, the following is a copy of my response file: [code language="sql"] ############################################################################### ## Copyright(c) Oracle Corporation 1998,2014. All rights reserved.           ## ##                                                                           ## ## Specify values for the variables listed below to customize               ## ## your installation.                                                       ## ##                                                                           ## ## Each variable is associated with a comment. The comment                   ## ## can help to populate the variables with the appropriate                   ## ## values.                                                                   ## ##                                                                          ## ## IMPORTANT NOTE: This file contains plain text passwords and               ## ## should be secured to have read permission only by oracle user             ##

http://houseofbrick.com/silent-installation-of-oracle-12c-grid-infrastructure-and-oracle-asm/[25/02/2016 15:57:01]

Silent Installation of Oracle 12c Grid Infrastructure and Oracle ASM | House of Brick Technologies

## or db administrator who owns this installation.                          ## ##                                                                           ## ############################################################################### ############################################################################### ##                                                                           ## ## Instructions to fill this response file                                   ## ## To install and configure 'Grid Infrastructure for Cluster'               ## ## - Fill out sections A,B,C,D,E,F and G                                   ## ## - Fill out section G if OCR and voting disk should be placed on ASM     ## ##                                                                          ## ## To install and configure 'Grid Infrastructure for Standalone server'     ## ## - Fill out sections A,B and G                                           ## ##                                                                          ## ## To install software for 'Grid Infrastructure'                             ## ## - Fill out sections A,B and C                                           ## ##                                                                          ## ## To upgrade clusterware and/or Automatic storage management of earlier     ## ## releases                                                                 ## ## - Fill out sections A,B,C,D and H                                       ## ##                                                                           ## ###############################################################################} #-----------------------------------------------------------------------------# Do not change the following system generated value. #-----------------------------------------------------------------------------oracle.install.responseFileVersion=/oracle/install/rspfmt_crsinstall_response_schema_v1 2.1.0 ######################################################################### #                                             # #                         SECTION A - BASIC           # #                                             # ######################################################################### #------------------------------------------------------------------------------# Specify the hostname of the system as set during the install. It can be used # to force the installation to use an alternative hostname rather than using the # first hostname found on the system. (e.g., for systems with multiple hostnames # and network interfaces) #------------------------------------------------------------------------------ORACLE_HOSTNAME=hob1.dbakerber.net #------------------------------------------------------------------------------# Specify the location which holds the inventory files. # This is an optional parameter if installing on # Windows based Operating System. #------------------------------------------------------------------------------INVENTORY_LOCATION=/u01/app/oraInventory #------------------------------------------------------------------------------# Specify the languages in which the components will be installed. # # en   : English                 ja   : Japanese # fr   : French                   ko   : Korean # ar   : Arabic                   es   : Latin American Spanish # bn   : Bengali                 lv   : Latvian # pt_BR: Brazilian Portuguese     lt   : Lithuanian # bg   : Bulgarian               ms   : Malay # fr_CA: Canadian French         es_MX: Mexican Spanish # ca   : Catalan                 no   : Norwegian # hr   : Croatian                 pl   : Polish # cs   : Czech                   pt   : Portuguese # da   : Danish                   ro   : Romanian # nl   : Dutch                   ru   : Russian # ar_EG: Egyptian                 zh_CN: Simplified Chinese # en_GB: English (Great Britain) sk   : Slovak # et   : Estonian                 sl   : Slovenian # fi   : Finnish                 es_ES: Spanish # de   : German                   sv   : Swedish # el   : Greek                   th   : Thai # iw   : Hebrew                   zh_TW: Traditional Chinese # hu   : Hungarian               tr   : Turkish # is   : Icelandic               uk   : Ukrainian # in   : Indonesian              vi   : Vietnamese # it   : Italian

http://houseofbrick.com/silent-installation-of-oracle-12c-grid-infrastructure-and-oracle-asm/[25/02/2016 15:57:01]

Silent Installation of Oracle 12c Grid Infrastructure and Oracle ASM | House of Brick Technologies

# # all_langs   : All languages # # Specify value as the following to select any of the languages. # Example : SELECTED_LANGUAGES=en,fr,ja # # Specify value as the following to select all the languages. # Example : SELECTED_LANGUAGES=all_langs #------------------------------------------------------------------------------SELECTED_LANGUAGES=en #------------------------------------------------------------------------------# Specify the installation option. # Allowed values: CRS_CONFIG or HA_CONFIG or UPGRADE or CRS_SWONLY or HA_SWONLY #   - CRS_CONFIG : To configure Grid Infrastructure for cluster #   - HA_CONFIG : To configure Grid Infrastructure for stand alone server #   - UPGRADE   : To upgrade clusterware software of earlier release #   - CRS_SWONLY : To install clusterware files only (can be configured for cluster #                 or stand alone server later) #   - HA_SWONLY : To install clusterware files only (can be configured for stand #                 alone server later. This is only supported on Windows.) #------------------------------------------------------------------------------oracle.install.option=HA_CONFIG #------------------------------------------------------------------------------# Specify the complete path of the Oracle Base. #------------------------------------------------------------------------------ORACLE_BASE=/u01/app/oracle #------------------------------------------------------------------------------# Specify the complete path of the Oracle Home. #------------------------------------------------------------------------------ORACLE_HOME=/u01/app/oracle/product/12.1.0/grid ######################################################################### #                                                   # #                             SECTION B - GROUPS             # #                                                   # #   The following three groups need to be assigned for all GI installations. # #   OSDBA and OSOPER can be the same or different. OSASM must be different   # #   than the other two.                             # #   The value to be specified for OSDBA, OSOPER and OSASM group is only for   # #   Unix based Operating System.                        # #                                           # ######################################################################### #------------------------------------------------------------------------------# The DBA_GROUP is the OS group which is to be granted OSDBA privileges. #------------------------------------------------------------------------------oracle.install.asm.OSDBA=oinstall #------------------------------------------------------------------------------# The OPER_GROUP is the OS group which is to be granted OSOPER privileges. # The value to be specified for OSOPER group is optional. # Value should not be provided if configuring Client Cluster - i.e. storageOption=CLIENT_ASM_STORAGE. #------------------------------------------------------------------------------oracle.install.asm.OSOPER= #------------------------------------------------------------------------------# The OSASM_GROUP is the OS group which is to be granted OSASM privileges. This # must be different than the previous two. #------------------------------------------------------------------------------oracle.install.asm.OSASM=oinstall ########################################################################## #                                                  # #                           SECTION C - SCAN                # #                                                  # ########################################################################## #------------------------------------------------------------------------------# Specify a name for SCAN #------------------------------------------------------------------------------oracle.install.crs.config.gpnp.scanName=

http://houseofbrick.com/silent-installation-of-oracle-12c-grid-infrastructure-and-oracle-asm/[25/02/2016 15:57:01]

Silent Installation of Oracle 12c Grid Infrastructure and Oracle ASM | House of Brick Technologies

#------------------------------------------------------------------------------# Specify a unused port number for SCAN service #------------------------------------------------------------------------------oracle.install.crs.config.gpnp.scanPort= ######################################################################### #                                                      # #                           SECTION D - CLUSTER & GNS          # #                                                      # ######################################################################### #------------------------------------------------------------------------------# Specify the type of cluster you would like to configure # Allowed values: FLEX and STANDARD #------------------------------------------------------------------------------oracle.install.crs.config.ClusterType=STANDARD #------------------------------------------------------------------------------# Specify a name for the Cluster you are creating. # # The maximum length allowed for clustername is 15 characters. The name can be # any combination of lower and uppercase alphabets (A - Z), (0 - 9), hyphen(-) # and underscore(_). #------------------------------------------------------------------------------oracle.install.crs.config.clusterName= #------------------------------------------------------------------------------# Specify 'true' if you would like to configure Grid Naming Service(GNS), else # specify 'false' #------------------------------------------------------------------------------oracle.install.crs.config.gpnp.configureGNS=false #------------------------------------------------------------------------------# Applicable only if you choose to configure GNS # Specify 'true' if you would like to assign SCAN name VIP and Node VIPs by DHCP # , else specify 'false' #------------------------------------------------------------------------------oracle.install.crs.config.autoConfigureClusterNodeVIP=true #------------------------------------------------------------------------------# Applicable only if you choose to configure GNS # Specify the type of GNS configuration for cluster # Allowed values are: CREATE_NEW_GNS and USE_SHARED_GNS #------------------------------------------------------------------------------oracle.install.crs.config.gpnp.gnsOption=CREATE_NEW_GNS #------------------------------------------------------------------------------# Applicable only if SHARED_GNS is being configured for cluster # Specify the path to the GNS client data file #------------------------------------------------------------------------------oracle.install.crs.config.gpnp.gnsClientDataFile= #------------------------------------------------------------------------------# Applicable only if you choose to configure GNS for this cluster # oracle.install.crs.config.gpnp.gnsOption=CREATE_NEW_GNS # Specify the GNS subdomain and an unused virtual hostname for GNS service #------------------------------------------------------------------------------oracle.install.crs.config.gpnp.gnsSubDomain= oracle.install.crs.config.gpnp.gnsVIPAddress= #------------------------------------------------------------------------------# Specify the list of nodes that have to be configured to be part of the cluster. # # The list should a comma-separated list of tuples. Each tuple should be a # colon-separated string that contains # - 2 fields if configuring a Standard Cluster, or # - 3 fields if configuring a Flex Cluster # # The fields should be ordered as follows: # 1. The first field should be the public node name. # 2. The second field should be the virtual host name #   (Should be specified as AUTO if you have chosen 'auto configure for VIP' #     i.e. autoConfigureClusterNodeVIP=true)

http://houseofbrick.com/silent-installation-of-oracle-12c-grid-infrastructure-and-oracle-asm/[25/02/2016 15:57:01]

Silent Installation of Oracle 12c Grid Infrastructure and Oracle ASM | House of Brick Technologies

# 3. The third field indicates the role of node (HUB,LEAF). This has to #   be provide only if Flex Cluster is being configured. # # Examples # For configuring Standard Cluster: oracle.install.crs.config.clusterNodes=node1:node1vip,node2:node2-vip # For configuring Flex Cluster: oracle.install.crs.config.clusterNodes=node1:node1vip:HUB,node2:node2-vip:LEAF # # #------------------------------------------------------------------------------oracle.install.crs.config.clusterNodes= #------------------------------------------------------------------------------# The value should be a comma separated strings where each string is as shown below # InterfaceName:SubnetAddress:InterfaceType # where InterfaceType can be either "1", "2", "3", "4", or "5" # InterfaceType stand for the following values #   - 1 : PUBLIC #   - 2 : PRIVATE #   - 3 : DO NOT USE #   - 4 : ASM #   - 5 : ASM & PRIVATE # # For example: eth0:140.87.24.0:1,eth1:10.2.1.0:2,eth2:140.87.52.0:3 # #------------------------------------------------------------------------------oracle.install.crs.config.networkInterfaceList= ######################################################################### #                                                   # #                             SECTION E - STORAGE           # #                                                   # ######################################################################### #------------------------------------------------------------------------------# Specify the type of storage to use for Oracle Cluster Registry(OCR) and Voting # Disks files #   - LOCAL_ASM_STORAGE #   - FLEX_ASM_STORAGE #   - CLIENT_ASM_STORAGE #   - FILE_SYSTEM_STORAGE # If configuring a Flex Cluster, FLEX_ASM_STORAGE is the only allowed value #------------------------------------------------------------------------------oracle.install.crs.config.storageOption= #------------------------------------------------------------------------------# These properties are applicable only if FILE_SYSTEM_STORAGE is chosen for # storing OCR and voting disk # Specify the location(s) and redundancy for OCR and voting disks # Multiple locations can be specified, separated by commas. # In case of windows, mention the drive location that is specified to be # formatted for DATA in the above property. # Redundancy can be one of these: #     EXTERNAL - one(1) location should be specified for OCR and voting disk #     NORMAL - three(3) locations should be specified for OCR and voting disk # Example: #     For Unix based Operating System: #     oracle.install.crs.config.sharedFileSystemStorage.votingDiskLocations=/oradbocfs/storag e/vdsk1,/oradbocfs/storage/vdsk2,/oradbocfs/storage/vdsk3 #     oracle.install.crs.config.sharedFileSystemStorage.ocrLocations=/oradbocfs/storage/ocr1, /oradbocfs/storage/ocr2,/oradbocfs/storage/ocr3 #     For Windows based Operating System OCR/VDSK on shared storage is not supported. #------------------------------------------------------------------------------oracle.install.crs.config.sharedFileSystemStorage.votingDiskLocations= oracle.install.crs.config.sharedFileSystemStorage.votingDiskRedundancy=NORMAL oracle.install.crs.config.sharedFileSystemStorage.ocrLocations= oracle.install.crs.config.sharedFileSystemStorage.ocrRedundancy=NORMAL ########################################################################## # # #                               SECTION F - IPMI             # #                                                      #

http://houseofbrick.com/silent-installation-of-oracle-12c-grid-infrastructure-and-oracle-asm/[25/02/2016 15:57:01]

Silent Installation of Oracle 12c Grid Infrastructure and Oracle ASM | House of Brick Technologies

########################################################################## #------------------------------------------------------------------------------# Specify 'true' if you would like to configure Intelligent Power Management interface # (IPMI), else specify 'false' #------------------------------------------------------------------------------oracle.install.crs.config.useIPMI=false #------------------------------------------------------------------------------# Applicable only if you choose to configure IPMI # i.e. oracle.install.crs.config.useIPMI=true # Specify the username and password for using IPMI service #------------------------------------------------------------------------------oracle.install.crs.config.ipmi.bmcUsername= oracle.install.crs.config.ipmi.bmcPassword= ########################################################################## #                                                  # #                               SECTION G - ASM          # #                                                  # ########################################################################## #------------------------------------------------------------------------------# Specify a password for SYSASM user of the ASM instance #------------------------------------------------------------------------------oracle.install.asm.SYSASMPassword=Password1 #------------------------------------------------------------------------------# The ASM DiskGroup # # Example: oracle.install.asm.diskGroup.name=data # #------------------------------------------------------------------------------oracle.install.asm.diskGroup.name=DATA #------------------------------------------------------------------------------# Redundancy level to be used by ASM. # It can be one of the following #   - NORMAL #   - HIGH #   - EXTERNAL # Example: oracle.install.asm.diskGroup.redundancy=NORMAL # #------------------------------------------------------------------------------oracle.install.asm.diskGroup.redundancy=EXTERNAL #------------------------------------------------------------------------------# Allocation unit size to be used by ASM. # It can be one of the following values #   - 1 #   - 2 #   - 4 #   - 8 #   - 16 #   - 32 #   - 64 # Example: oracle.install.asm.diskGroup.AUSize=4 # size unit is MB # #------------------------------------------------------------------------------oracle.install.asm.diskGroup.AUSize=1 #------------------------------------------------------------------------------# List of disks to create a ASM DiskGroup # # Example: #     For Unix based Operating System: #     oracle.install.asm.diskGroup.disks=/oracle/asm/disk1,/oracle/asm/disk2 #     For Windows based Operating System: #     oracle.install.asm.diskGroup.disks=\\.\ORCLDISKDATA0,\\.\ORCLDISKDATA1 # #------------------------------------------------------------------------------oracle.install.asm.diskGroup.disks=/dev/oracleasm/disks/DSK1 #------------------------------------------------------------------------------# The disk discovery string to be used to discover the disks used create a ASM

http://houseofbrick.com/silent-installation-of-oracle-12c-grid-infrastructure-and-oracle-asm/[25/02/2016 15:57:01]

Silent Installation of Oracle 12c Grid Infrastructure and Oracle ASM | House of Brick Technologies

DiskGroup # # Example: #     For Unix based Operating System: #     oracle.install.asm.diskGroup.diskDiscoveryString=/oracle/asm/* #     For Windows based Operating System: #     oracle.install.asm.diskGroup.diskDiscoveryString=\\.\ORCLDISK* # #------------------------------------------------------------------------------oracle.install.asm.diskGroup.diskDiscoveryString=/dev/oracleasm/disks/* #------------------------------------------------------------------------------# oracle.install.asm.monitorPassword=password #------------------------------------------------------------------------------oracle.install.asm.monitorPassword=Password1 #------------------------------------------------------------------------------# Applicable only if configuring CLIENT_ASM_STORAGE for OCR/Voting Disk storage # Specify the path to Client ASM Data file #------------------------------------------------------------------------------oracle.install.asm.ClientDataFile= ######################################################################### #                                                   # #                             SECTION H - UPGRADE         # #                                                   # ######################################################################### #------------------------------------------------------------------------------# Specify whether to ignore down nodes during upgrade operation. # Value should be 'true' to ignore down nodes otherwise specify 'false' #------------------------------------------------------------------------------oracle.install.crs.config.ignoreDownNodes=false ########################################################################## #                                                   # #                               MANAGEMENT OPTIONS          # #                                                   # ########################################################################## #------------------------------------------------------------------------------# Specify the management option to use for managing Oracle Grid Infrastructure # Options are: # 1. CLOUD_CONTROL - If you want to manage your Oracle Grid Infrastructure with Enterprise Manager Cloud Control. # 2. NONE   -If you do not want to manage your Oracle Grid Infrastructure with Enterprise Manager Cloud Control. #------------------------------------------------------------------------------oracle.install.config.managementOption=NONE #------------------------------------------------------------------------------# Specify the OMS host to connect to Cloud Control. # Applicable only when oracle.install.config.managementOption=CLOUD_CONTROL #------------------------------------------------------------------------------oracle.install.config.omsHost= #------------------------------------------------------------------------------# Specify the OMS port to connect to Cloud Control. # Applicable only when oracle.install.config.managementOption=CLOUD_CONTROL #------------------------------------------------------------------------------oracle.install.config.omsPort=0 #------------------------------------------------------------------------------# Specify the EM Admin user name to use to connect to Cloud Control. # Applicable only when oracle.install.config.managementOption=CLOUD_CONTROL #------------------------------------------------------------------------------oracle.install.config.emAdminUser= #------------------------------------------------------------------------------# Specify the EM Admin password to use to connect to Cloud Control. # Applicable only when oracle.install.config.managementOption=CLOUD_CONTROL #------------------------------------------------------------------------------oracle.install.config.emAdminPassword= [/code]

http://houseofbrick.com/silent-installation-of-oracle-12c-grid-infrastructure-and-oracle-asm/[25/02/2016 15:57:01]

Silent Installation of Oracle 12c Grid Infrastructure and Oracle ASM | House of Brick Technologies

  Step 5

Run the grid control installation. This is the step that it is most important to get correct. I suggest that you edit your command in a text editor, then copy and paste it into the command line. This is the command appropriate for a typical environment using the response file above: /home/oracle/grid/runInstaller -silent -responseFile /home/oracle/grid_install.rsp -showProgress The following is an example of a successful installation: Starting Oracle Universal Installer... Checking Temp space: must be greater than 415 MB.   Actual 97070 MB   Passed Checking swap space: must be greater than 150 MB.   Actual 16383 MB   Passed Preparing to launch Oracle Universal Installer from /tmp/OraInstall2015-09-28_06-0357PM. Please wait ...[oracle@hob1 ~]$ [WARNING] [INS-41812] OSDBA and OSASM are the same OS group. CAUSE: The chosen values for OSDBA group and the chosen value for OSASM group are the same. ACTION: Select an OS group that is unique for ASM administrators. The OSASM group should not be the same as the OS groups that grant privileges for Oracle ASM access, or for database administration. [WARNING] [INS-41875] Oracle ASM Administrator (OSASM) Group specified is same as the users primary group. CAUSE: Operating system group oinstall specified for OSASM Group is same as the users primary group. ACTION: It is not recommended to have OSASM group same as primary group of user as it becomes the inventory group. Select any of the group other than the primary group to avoid misconfiguration. [WARNING] [INS-13014] Target environment does not meet some optional requirements. CAUSE: Some of the optional prerequisites are not met. See logs for details. /tmp/OraInstall2015-09-28_06-03-57PM/installActions2015-09-28_06-03-57PM.log ACTION: Identify the list of failed prerequisite checks from the log: /tmp/OraInstall2015-09-28_06-03-57PM/installActions2015-09-28_06-03-57PM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually. You can find the log of this install session at: /u01/app/oraInventory/logs/installActions2015-09-28_06-03-57PM.log Prepare in progress. ..................................................   7% Done. Prepare successful. Copy files in progress. ..................................................   ..................................................   ..................................................   ..................................................   ..................................................   ..................................................   ..................................................   ..................................................   ..................................................   .................... Copy files successful.

12% 22% 27% 32% 40% 48% 53% 58% 63%

Done. Done. Done. Done. Done. Done. Done. Done. Done.

Link binaries in progress. .......... Link binaries successful. Setup files in progress. .................................................. 68% Done. Setup files successful. Setup Inventory in progress. Setup Inventory successful. ..................................................   73% Done.

http://houseofbrick.com/silent-installation-of-oracle-12c-grid-infrastructure-and-oracle-asm/[25/02/2016 15:57:01]

Silent Installation of Oracle 12c Grid Infrastructure and Oracle ASM | House of Brick Technologies

Finish Setup successful. The installation of Oracle Grid Infrastructure 12c was successful. Please check '/u01/app/oraInventory/logs/silentInstall2015-09-28_06-03-57PM.log' for more details. Setup Oracle Base in progress. Setup Oracle Base successful. ..................................................   82% Done. Prepare for configuration steps in progress. Prepare for configuration steps successful. .......... Update Inventory in progress. Update Inventory successful. ..................................................   95% Done. As a root user, execute the following script(s):   Step 6 Run the root scripts, in order. After running root.sh, review the listed log files for errors. Below shows successful runs of oraInstroot.sh and root.sh. [root@hob1 oraInventory]# ./orainstRoot.sh Changing permissions of /u01/app/oraInventory. Adding read,write permissions for group. Removing read,write,execute permissions for world. Changing groupname of /u01/app/oraInventory to oinstall. The execution of the script is complete. [root@hob1 oraInventory]# cd /u01/app/oracle/product/12.1.0/grid [root@hob1 grid]# ./root.sh Check /u01/app/oracle/product/12.1.0/grid/install/root_hob1.dbakerber.net_2015-0929_07-53-24.log for the output of root script [oracle@hob1 Desktop]$ cat /u01/app/oracle/product/12.1.0/grid/install/root_hob1.dbakerber.net_2015-09-29_07-5324.log Performing root user operation. The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /u01/app/oracle/product/12.1.0/grid Copying dbhome to /usr/local/bin ... Copying oraenv to /usr/local/bin ... Copying coraenv to /usr/local/bin ... Creating /etc/oratab file... Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root script. Now product-specific root actions will be performed. Using configuration parameter file: /u01/app/oracle/product/12.1.0/grid/crs/install/crsconfig_params LOCAL ADD MODE Creating OCR keys for user 'oracle', privgrp 'oinstall'.. Operation successful. LOCAL ONLY MODE Successfully accumulated necessary OCR keys. Creating OCR keys for user 'root', privgrp 'root'.. Operation successful. CRS-4664: Node hob1 successfully pinned. 2015/09/29 07:53:49 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.conf' hob1     2015/09/29 07:54:11     /u01/app/oracle/product/12.1.0/grid/cdata/hob1/backup_20150929_075411.olr     0 CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'hob1' CRS-2673: Attempting to stop 'ora.evmd' on 'hob1' CRS-2677: Stop of 'ora.evmd' on 'hob1' succeeded CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'hob1' has completed http://houseofbrick.com/silent-installation-of-oracle-12c-grid-infrastructure-and-oracle-asm/[25/02/2016 15:57:01]

Silent Installation of Oracle 12c Grid Infrastructure and Oracle ASM | House of Brick Technologies

CRS-4133: Oracle High Availability Services has been stopped. CRS-4123: Oracle High Availability Services has been started. 2015/09/29 07:59:45 CLSRSC-327: Successfully configured Oracle Restart for a standalone server   Step 7 Create the Oracle ASM instance. ASM is fairly easy to create from the command line. The only two options that you need to work with the system administrator on are the names of the ASM disks, and the ASM disk string. Typically your administrator will just give you that information. Below is the command line to create an ASM instance, and the output: $ORACLE_HOME/bin/asmca -silent -configureASM -sysAsmPassword Password1 asmsnmpPassword Password1 -diskstring /dev/oracleasm/disks/* -diskGroupName data diskList /dev/oracleasm/disks/DSK1 -redundancy EXTERNAL ASM created and started successfully. Disk Group data created successfully. CONCLUSION At this point, the Oracle restart is installed, and the Oracle ASM instance is created.

Share with your network

http://houseofbrick.com/silent-installation-of-oracle-12c-grid-infrastructure-and-oracle-asm/[25/02/2016 15:57:01]

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF