Wednesday, December 31, 2008

Install asmlib on RHEL5

[root@prod-oranode-210 oracleasm]# rpm -Uvh oracleasmlib-2.0.3-1.el5.x86_64.rpm
Preparing... ########################################### [100%]
package oracleasmlib-2.0.3-1.el5 is already installed
[root@prod-oranode-210 oracleasm]# rpm -Uvh oracleasm-support-2.1.2-1.el5.x86_64.rpm
Preparing... ########################################### [100%]
1:oracleasm-support ########################################### [100%]
[root@prod-oranode-210 oracleasm]# rpm -Uvh oracleasm-2.6.18-92.1.17.el5-2.0.5-1.el5.x86_64.rpm
Preparing... ########################################### [100%]
1:oracleasm-2.6.18-92.1.1########################################### [100%]
[root@prod-oranode-210 oracleasm]# /etc/init.d/oracleasm configure
Configuring the Oracle ASM library driver.

This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting without typing an
answer will keep that current value. Ctrl-C will abort.

Default user to own the driver interface []: oracle
Default group to own the driver interface []: dba
Start Oracle ASM library driver on boot (y/n) [n]: y
Scan for Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [ OK ]
Scanning the system for Oracle ASMLib disks: [ OK ]


dd if=/dev/zero of=/dev/asm_oradate_211.1 bs=8192 count=5000
dd if=/dev/zero of=/dev/asm_oradate_211.2 bs=8192 count=5000
dd if=/dev/zero of=/dev/asm_oradate_211.3 bs=8192 count=5000
dd if=/dev/zero of=/dev/asm_oradate_211.4 bs=8192 count=5000
dd if=/dev/zero of=/dev/asm_oradate_211.5 bs=8192 count=5000
dd if=/dev/zero of=/dev/asm_oradate_211.6 bs=8192 count=5000
dd if=/dev/zero of=/dev/asm_oradate_211.7 bs=8192 count=5000


/usr/sbin/asmtool -C -l /dev/oracleasm -n ASM_DISK211_01 -s /dev/emcpowera -a force=yes
/usr/sbin/asmtool -C -l /dev/oracleasm -n ASM_DISK211_02 -s /dev/emcpowerb -a force=yes
/usr/sbin/asmtool -C -l /dev/oracleasm -n ASM_DISK211_03 -s /dev/emcpowerc -a force=yes
/usr/sbin/asmtool -C -l /dev/oracleasm -n ASM_DISK211_04 -s /dev/emcpowerd -a force=yes
/usr/sbin/asmtool -C -l /dev/oracleasm -n ASM_DISK211_05 -s /dev/emcpowere -a force=yes
/usr/sbin/asmtool -C -l /dev/oracleasm -n ASM_DISK211_06 -s /dev/emcpowerf -a force=yes
/usr/sbin/asmtool -C -l /dev/oracleasm -n ASM_DISK211_07 -s /dev/emcpowerg -a force=yes

Monday, December 8, 2008

Oracle Configuration Manager Install

Downloaded the platform specific OCM binaries from Metalink.
Unzip'd to $ORACLE_HOME/ccr (as recommended by Oracle).
unzip -d $ORACLE_HOME ocm-Production-AIX-ppc.zip

Install OCM:
execute the following:
$ORACLE_HOME/ccr/bin/setupCCR -s
Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your MetaLink
Email address/User Name.
Visit http://www.oracle.com/support/policies.html for details.
Email address/User Name: xxx@cmcmarkets.com
Provide your MetaLink password to receive security updates via your MetaLink
account.
Password (optional):
** Installing base package **
Deploying core - Version 10.3.0.1.0
** Registering installation with Oracle Configuration Manager server(s) **
Deploying engines - Version 10.2.7.1.0
Deploying metricdata - Version 10.2.4.0.3
Deploying scripts - Version 10.3.0.1.0
** Getting package updates from ContentServer **
** Starting the Oracle Configuration Manager Scheduler **
Oracle Configuration Manager - Release: 10.3.0.1.0 - Production
Copyright (c) 2005, 2008, Oracle. All rights reserved.
------------------------------------------------------------------
Starting Oracle Configuration Manager...
Waiting for status from Oracle Configuration Manager....
Start Date 27-Aug-2008 07:42:54
Last Collection Time -
Next Collection Time 28-Aug-2008 07:41:00
Collection Frequency Daily at 07:41
Collection Status scheduled collection running
Log Directory /scratch/jdoe/test/ccr/hosts/myhost/log
Registered At 27-Aug-2008 07:41:57
Automatic Update On
Collector Mode Connected
Oracle Configuration Manager successfully started.
Oracle Configuration Manager has been configured in connected mode. If the
target ORACLE_HOME is running a database, please refer to the
"Post-installation Database Configuration" section of the OCM Installation
and Administration Guide
(http://www.oracle.com/technology/documentation/ocm.html) to complete the
installation.
View configuration data reports and access valuable configuration best
practices by going to MetaLink.