June 13 2010

Changing Interconnect/Public Interface, IP or Subnet in Oracle Clusterware

Tagged Under : , , , , , , , ,

Recently, I have successfully changed the NIC interface name for public and private NIC in 2 nodes Oracle clusterware 11.1.0.7. The purpose of this change is to change single NIC interface to teaming NIC interfaces in UNIX level for HA purpose.

I would like to share the steps which applies to Oracle Clusterware 10.1 to 11.2 in any UNIX/Linux platform.

Before:

(node1:root) /usr/crs/oracle/product/11.1/crs/bin # ./oifcfg getif
lan2 23.252.18.0 global public
lan4 10.250.48.0 global cluster_interconnect

(node2:root) /usr/crs/oracle/product/11.1/crs/bin # ./oifcfg getif
lan2 23.252.18.0 global public
lan4 10.250.48.0 global cluster_interconnect

(node1:root) /usr/oracle $ srvctl config nodeapps -n node1 -a
VIP exists.: /racvip1/23.252.18.91/255.255.255.0/lan2

(node2:root) /usr/oracle $ srvctl config nodeapps -n node2 -a
VIP exists.: /racvip2/23.252.18.92/255.255.255.0/lan2

May 13 2010

oracleasm create disk error – device is not a partition

Tagged Under : , , , , , ,

[root@mytest1 /]# /etc/init.d/oracleasm createdisk ASM_DISK1 /dev/emcpowera1
Marking disk “/dev/emcpowera1” as an ASM disk: asmtool: Device “/dev/emcpowera1” is not a partition
[FAILED]

Symptom  above looks familiar? This is non Oracle ASMlib issue, but EMCPOWER PATH issue.

Applies to:

Linux x86 & Linux x86-64

Symptom:

Error shown above even though the disk is properly formatted and has the requisite partition.

Cause:

EMC Powerpath Versions 5.0.1 and 5.1 do not properly support the i/o calls that oracleasm makes.