d-h-n.de
Blog about Oracle, Linux..

Setup a storage server for RAC using Openfiler and iSCSI

June 25th, 2009 . by admin

Download Openfiler

Openfiler http://www.openfiler.com/community/download/
choose: x86 – ISO Image (x86) – Installation ISO image (x86)
download result: file openfiler-2.3-x86-disc1.iso size 314MB
 

 

1. Create a virtual machine for Openfiler

Openfiler Server
Name: Openfiler23
Memory: 768 MB
HardDisk: 3GB
Network Adapter 1 Bridget
Network Adapter 2 Host-only

where

NIC IP address Subnet Gateway Network connection
eth0 192.168.1.7 255.255.255.0 192.168.1.1 Bridged
eth1 192.168.192.7 255.255.255.0   Host-only

Map the CD/DVD drive using the ISO file of OpenFiler openfiler-2.3-x86-disc1.iso
Link: How to create a virtual machine

 

2. Install Openfiler

Steps to install Openfiler with all default:
 

Screen Action
On VMWare right click machine Openfiler23
-> Power On to start the installation
 
 
Boot Screen Press <ENTER> to start the graphical installation
Welcome to rPath Linux Press OK or Skip the media test
Welcome to Openfiler NSA (32-bit PAE) Click Next
Dialog Keyboard Configuration - Choose the appropritate keyboard
– Click Next
Partitioning Setup Accept default automatically partition
.Click Next
.Click Yes when message: Would you like to initialize this drive…
Automatic Partitioning Accept all default
Click next
Disk Setup Accept all default
.Click next
Network Configuration - Select eth0 – Click Button Edit:
  .Deselect ‘Configure using DHCP’
  .Select ‘Activate on boot’
  .IP Address: 192.168.1.7
  .Netmask: 255.255.255.0
  .Click Ok

– Select eth0 – Click Button Edit:
  .Deselect ‘Configure using DHCP’
  .Select ‘Activate on boot’
  .IP Address: 192.168.192.7
  .Netmask: 255.255.255.0
  .Click Ok

– Choose Set the hostname manually: openfiler23.localdomain
– Setting Gateway: 192.168.1.1
– Click Next

– Message Error With Data: Yout have not specified the field
"Primary DNS"..
– Click Continue

 

Time Zone Selection - Select your Location
– Click Next
Set Root Password - Specify password for root
– Click Next
About to Install - Click Next

..and reboot
- Openfiler present the Welcome Terminal. Pic01
- Login as root and password specified during the installaltion
- and shutdown immediate with: # shutdown -h now
- Next we want add the shared storage disk

 

 

3. Create virtual storage shared disks

For a RAC installation, we need for example:

Overview shared disks
Disk 1 1GB Place for Clusterfile OCR, VotingDisk
Disk 2 5GB Place for database file. ASM volume 1, 2, 3,4
Disk 3 5GB

Link: Howto create virtual shared disks on VMWare

Result: created shared disks

Directory of M:\VM\SharedDisks
06/11/2009  01:08 AM    <DIR>          .
06/11/2009  01:08 AM    <DIR>          ..
06/11/2009  01:03 AM     1,073,741,824 disk1-flat.vmdk
06/11/2009  01:03 AM               396 disk1.vmdk
06/11/2009  01:06 AM     5,368,709,120 disk2-flat.vmdk
06/11/2009  01:06 AM               397 disk2.vmdk
06/11/2009  01:08 AM     5,368,709,120 disk3-flat.vmdk
06/11/2009  01:08 AM               397 disk3.vmdk
   6 File(s) 11,811,161,254 bytes
   2 Dir(s)  23,387,648,000 bytes free

 
 

4. Add shared disks to machine openfiler

Steps
Right click virtual machine Openfiler23 -> Setting
Dialog Virtual Machine Settings - Click Button Add
Dialog Add Hardware Wizard - Choose Hard Disk
– Click Next
Dialog Select a Disk - Choose Use an existing virtual disk
– Click Next
Dialog Select an Existing Disk - Specify Disk file: M:\VM\SharedDisks\disk1.vmdk
– Click Mode Independent
– Click Finish
– When message ‘Convert existing virtual disk to newer format?’
choose ‘Keep Existing Format’
– Click OK
– Repeat the step to add shared disk2 and 3
Click OK to finish adding shared disk

 
 

5. Configure iSSCI storage with Openfiler

Steps to configure Openfiler iSCSI
Starting - Power on machine Openfiler23. Pic01
– From host machine open a browser with address:
https://192.168.1.7:446/
– Screen: When Certificate Error: Navigation Blocked. Pic02
– Click Continue to this website (not recommended)
– Login with Username: openfiler. Password=password. Pic03
Enable service iSCSI Pic 04
– Click tab ‘Services’
– Click link ‘Enable’ at row ‘iSCSI target server’
Network Access Configuration - Click tab ‘System’. Scroll down
Specified ips from which can access Openfiler

Name Network/Host Netmask Type
rac1-public 192.168.1.10 255.255.255.0 Shared
rac1-priv 192.168.192.10 255.255.255.0 Shared
rac2-public 192.168.1.11 255.255.255.0 Shared
rac2-priv 192.168.192.11 255.255.255.0 Shared

Summary: Pic05

Create disk partition - Click tab ‘Volumes’
– Click ‘Block Devices’ on topic box ‘Volumes section’ on the right
– Click link /dev/sdb. Pic06
– Scroll down and click button ‘Create’ .Pic07
– Goback by click ‘Block Devices’ and create partitions for /dev/sdc, /dev/sdd
– Summary Pic08
Create new Volume Group - Click ‘Volume Group’ on topic box ‘Volumes section’ on the right
– Specify Volume Group name, for example: vstorage
– Select all disks. My volume group should contents all 3 disks
– Click ‘Add volume group’
– see: Pic09
Add Volume

- Click ‘Add Volume’ on topic box ‘Volumes section’ on the right
– Scroll down
– Create a volume
– Volume name: ocfs2
– Volume Description: ocr and voting disk
– Required Space(MB): 1024
– Filesystem/Volume type: iSCSI
– Click Create
– see: Pic10

- Repeat the steps to create 4 new volumes: asm1 bis asm4 with size 2.5GB(2560MB)

Volume Name Volume Description Volume Size Volume type
ocfs2 ocr and voting disk 1024MB iSCSI
asm1 asm volume 1 2560MB iSCSI
asm2 asm volume 2 2560MB iSCSI
asm3 asm volume 3 2560MB iSCSI
asm4 asm volume 4 2560MB iSCSI

Summary: Pic11

Create and configure Target

- Click Tab ‘Volumes’.
– Click ‘iSCSI Targets’ on topic box ‘Volumes section’ on the right

Add an iSCSI Target:
– Sub tab: Target Configuration
– Accept generated default Target IQN. Click Add
Pic12

Mapping LUN
– Sub tab: LUN Mapping
– Click Button Map to map a volume. Pic13
– Map all other volumes!
– Summary: LUN Mapping Pic14

Network ACL
– Click subtab ‘Network ACL’
– Select access ‘Allow’ for all hosts. Click button Update.
– Summary: Pic15
 

 


Install Oracle Enterprise Linux on VMWare

June 22nd, 2009 . by admin

Download Oracle Enterprise Linux 5.3

http://edelivery.oracle.com/linux
choice: Enterprise Linux Release 5 Update 3 Media Pack for x86 (32 bit)
download result: 5 CD or 1 DVD 2.7GB

 

Create a VMWare virtual machine with:

Name: RAC1
RAM: 768 MB
HD: 8GB
Network Interface 1: Bridged
Network Interface 2: Host-only
Map the CD/DVD drive using the ISO file of Oracle Enterprise Linux
Link: How to create a virtual machine

 

 

Step to install Linux

Screen,Dialog Action
Boot - Press Enter
Test CD Media - Press OK to check the media CDs or skip
Welcome Enterprise Linux - Click Next
Language Selection - Select your language
– Click Next
Keyboard Selection - Make a choice
– Click Next
Warning – The partition table on device sda.. - Click Yes
Partitioning - Click Next
Warning –
You have chosen to remove all Linux partition..
- Click Yes
Configure Network  
Configure eth0 - Check checkbox Active on Boot
– Click button Edit -> Dialog Edit Interface
– Select ‘Enable IPv4 support’
– Select ‘Manual configuration’
– Input IP Address: 192.168.1.10 – Netmask: 255.255.255.0
– Deselect ‘Enable IPv6 support’
– Click OK
 
Configure eth1 - Check checkbox Active on Boot
– Click button Edit -> Dialog Edit Interface
– Select ‘Enable IPv4 support’
– Select ‘Manual configuration’
– Input IP Address: 192.168.192.10 – Netmask: 255.255.255.0
– Deselect ‘Enable IPv6 support’
– Click OK
 
Configure Network - Set the hostname: rac1.localdomain
– Set gateway: 192.168.1.1
Message Error With Data –
You have not specified the field ‘Primary DNS’..
- Click Continue
Region - Make a choice
– Click Next
Root password - Specify root password
– Click Next
Software selection - Accept default ‘Customize later’
- Click Next
Later we can use Oracle Validated RPM to automatize the install all required RPMs for a Oracle database or a RAC installation
Begin Installation of Enterprise Linux - Click Next
Installation process - Wait…
Finish Installation - Click Reboot
Welcome - Click Forward
License Agreement - Select Yes, I agree to the License Argreement
– Click Forward
Firewall - Select Firewall: Disable
– Click Forward
Message Clicking the ‘Yes’ button.. - Click Yes
SELinux -Select SELinux Setting: Disable
– Click Forward
Message ‘Change this SELinux setting requires..’ -Click Yes
Kdump -Click Forward
Date and Time - Click Forward
Create User - Input Username, Password
– Click Forward
Sound Card - Click Forward
Additional CDs - Click Finish
.. and reboot  

 

Install VMWare Tools

- Click Menu VM -> VMWare Tools..
- Open a terminal:
 

[root@rac1 ~]# ls /media/VMware\ Tools/
manifest.txt                       VMwareTools-6.5.0-118166.tar.gz
VMwareTools-6.5.0-118166.i386.rpm
[root@rac1 ~]# cd /media/VMware\ Tools/
[root@rac1 VMware Tools]# rpm -ivh VMwareTools-6.5.0-118166.i386.rpm
Preparing...                ########################################### [100%]
   1:VMwareTools            ########################################### [100%]

The installation of VMware Tools 6.5.0 for Linux completed successfully.
You can decide to remove this software from your system at any time by
invoking the following command: "rpm -e VMwareTools".

Before running VMware Tools for the first time, you need to
configure it for your running kernel by invoking the
following command: "/usr/bin/vmware-config-tools.pl".

Enjoy,

    --the VMware team

Run:

[root@rac1 VMware Tools]# /usr/bin/vmware-config-tools.pl

and follow the screen dialog..
Reboot

 

Preparing for Oracle database installation

Using Oracle Validated RPM to automatize the install all required RPMs for a optimal database installation


ocfs2console: o2cb_ctl: Unable to access cluster service while creating node

June 19th, 2009 . by admin

For the first time, during configuring the nodes, ocfs2console fails with message:

"o2cb_ctl: Unable to access cluster service while creating node"

TODO:
- Quit ocfs2console
- Stop the service
- Remove file /etc/ocfs2/cluster.conf
- Restart ocfs2console
- Configure the nodes again
 

[root@rac1 ~]#  /etc/init.d/ocfs2 stop
Stopping Oracle Cluster File System (OCFS2)                [  OK  ]

[root@rac1 ~]# /etc/init.d/o2cb offline ocfs2

[root@rac1 ~]# /etc/init.d/o2cb unload
Unmounting ocfs2_dlmfs filesystem: OK
Unloading module "ocfs2_dlmfs": OK
Unmounting configfs filesystem: OK
Unloading module "configfs": OK

[root@rac1 ~]# rm -f /etc/ocfs2/cluster.conf
[root@rac1 ~]# /usr/sbin/ocfs2console &

Create shared disk for Oracle RAC on VMWare

June 15th, 2009 . by admin

For Oracle RAC installation we need share storage for OCR, Voting Disk, ASM..

Shared Disks

No Size Usage
1 1 GB Place OCR, Voting Disk and mirror
2 3 GB Place for Database Files. ASM volume 1
3 3 GB Place for Database Files. ASM volume 2
4 3 GB Place for Flash Recovery Area. ASM volume 3
5 3 GB Place for Flash Recovery Area. ASM volume 4

 

1. Create a directory for shared disks:

Open a CMD. Create a directory for all shared disks:

C:\> mkdir M:\VM4\SharedDisks

Create the shared disk manual with vmware-vdiskmanager.exe

C:\> cd "C:\Program Files\VMware\VMware Workstation"
vmware-vdiskmanager.exe -c -s 1Gb -a lsilogic -t 4 M:\VM4\SharedDisks\ocfs2.vmdk
vmware-vdiskmanager.exe -c -s 3Gb -a lsilogic -t 4 M:\VM4\SharedDisks\asm1.vmdk
vmware-vdiskmanager.exe -c -s 3Gb -a lsilogic -t 4 M:\VM4\SharedDisks\asm2.vmdk
vmware-vdiskmanager.exe -c -s 3Gb -a lsilogic -t 4 M:\VM4\SharedDisks\asm3.vmdk
vmware-vdiskmanager.exe -c -s 3Gb -a lsilogic -t 4 M:\VM4\SharedDisks\asm4.vmdk

where the paraneters are:

Parameter of vmware-vdiskmanager
-c create
-s size
-a adapter type
-t disk type

and disk type is
 

Disk type
0 single growable virtual disk
1 growable virtual disk split in 2GB files
2 preallocated virtual disk
3 preallocated virtual disk split in 2GB files
4 preallocated ESX-type virtual disk
5 compressed disk optimized for streaming

Note:
- Only with disk type 4 can a RAC installation later successful
- Disk type 4 (preallocated ESX-type virtual disk) is NEW in
VMWare workstation 6.5 Beta and VMWare Server 2.0 Beta.
- Disk type 2 (preallocated virtual disk) dont’work !
- With disk type 2, later when install Clusterware you get the error:
..service OracleCSService in improper PENDING state, err(0)
..service OracleCSService in improper PENDING state, err(997)

 

2. Add disk to virtual machine

The shared disk are ready created, now we must add them to the all virtual machines functionally as RAC nodes
For example when the first RAC node name RAC1 then open file \RAC1\RAC1.vmx with notepad and add this:


# Begin Virtual VM Disks for Oracle RAC
disk.locking = "FALSE"
diskLib.dataCacheMaxSize = "0"
diskLib.dataCacheMaxReadAheadSize = "0"
diskLib.dataCacheMinReadAheadSize = "0"
diskLib.dataCachePageSize = "4096"
diskLib.maxUnsyncedWrites = "0"

scsi1.present = "TRUE"
scsi1.virtualDev = "lsilogic"
scsi1.sharedBus = "VIRTUAL"

scsi1:0.present = "TRUE"
scsi1:0.fileName = "M:\VM4\SharedDisks\ocfs2.vmdk"
scsi1:0.mode = "independent-persistent"
scsi1:0.deviceType = "disk"

scsi1:1.present = "TRUE"
scsi1:1.fileName = "M:\VM4\SharedDisks\asm1.vmdk"
scsi1:1.mode = "independent-persistent"
scsi1:1.deviceType = "disk"

scsi1:2.present = "TRUE"
scsi1:2.fileName = "M:\VM4\SharedDisks\asm2.vmdk"
scsi1:2.mode = "independent-persistent"
scsi1:2.deviceType = "disk"

scsi1:3.present = "TRUE"
scsi1:3.fileName = "M:\VM4\SharedDisks\asm3.vmdk"
scsi1:3.mode = "independent-persistent"
scsi1:3.deviceType = "disk"

scsi1:4.present = "TRUE"
scsi1:4.fileName = "M:\VM4\SharedDisks\asm4.vmdk"
scsi1:4.mode = "independent-persistent"
scsi1:4.deviceType = "disk"

# End Virtual VM Disks for Oracle RAC

-Power on the machine and check if the OS see all shared disks, for example in Linux

# ls -l /dev/sd*
or
# fdisk -l

How to create a VMWare virtual machine

June 13th, 2009 . by admin

Steps to create a VMWare virtual machine

Step/Dialog screen Specified
Start VMware Workstation  
Menu File -> New -> Virtual machine Ctrl+N  
Welcome to the New Virtual Machine Wizard - Choice Customer(advanced)
– Click Next
Choose the Virtual Machine Hardware
Compatibility
- Accept all default
– Hardware Compatibility: Workstation 6.5
– Click Next
Guest Operating System Installation - Specify Installer disc image file (iso)
  also specified here where is the isofile of Centos for example:
  G:\OSource\Centos52\CentOS-5.2-i386-bin-1of6.iso
– Click Next
Select a Guest Operating System - Choice Guest operating system: Linux
– Version: Other Linux 2.6.x kernel
– Click Next
Name the Virtual Machine - Virtual machine name: Centos52
– Location: D:\MyVM\Centos52
– Click Next
Processor Configuration - Accept all default
– Number of processors: One
– Click Next
Memory for the Virtual Machine - Memory for this virtual machine: 768 MB
– Click Next
Network Type - Choice: Use bridged networking
– Click Next
Select I/O Adapter Types - Accept all default
– Choice SCSI Adapter: LSI Logic (Recommanded)
– Click Next
Create a new virtual disk - Choice: Create a new virtual disk
– Click Next
Select a Disk Type - Choice: SCSI (Recommended)
– Click Next
Specify Disk Capacity - Accept all default
– Maximum disk size (GB): 8.0
– Store virtual disk as single file
– Click Next
Specify Disk File - Accept all default
– Disk File: Centos52.vmdk
– Click Next
Ready to Create Virtual Machine - Click Finish

 

 

Add a second NIC

Sometime we need a second NIC, for example, for a RAC installation we need a second NIC for PRIVATE network. Todo:
 

Steps Specified
Right click Centos52 -> Setting…  
Dialog Virtual Machine Setting
Tab Hardware
- Click Button Add
Hardware Type - Choice Network Adapter
– Click Next
Network Type - Choice Host-only: A private network shared with the host
– Click Next
Dialog Virtual Machine Setting - Click OK

 


SGA Fixed Size, Variable Size

June 12th, 2009 . by admin

Fixed Size: Fixed SGA and other internal allocations needed by the Oracle Database instance.
Also space for background processes and else..
You can not changed it. There are no pararameter to change SGA fixed size

http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/create.htm#sthref381


Variable Size:
the sum of
Shared Pool  Size + Large Pool Size + Java Pool Size + Streams Pool Size + Free SGA Memory Available

Variable size:
1. When starup instance you see Variable Size and other infos about SGA, for example:

SQL> startup
ORACLE instance started.

Total System Global Area  448790528 bytes
Fixed Size                  1249536 bytes
Variable Size             251662080 bytes
Database Buffers          188743680 bytes
Redo Buffers                7135232 bytes
Database mounted.

2.

SQL> select * from v$sga;

NAME                      VALUE
-------------------- ----------
Fixed Size              1249536
Variable Size         255856384
Database Buffers      184549376
Redo Buffers            7135232

3.

SQL> select sum(bytes) "Variable size" from v$sgainfo where name in
  2       ( 'Shared Pool Size'
  3       , 'Large Pool Size'
  4       , 'Java Pool Size'
  5       , 'Streams Pool Size'
  6       , 'Free SGA Memory Available'
  7       );

Variable size
-------------
    255852544

the calculation is just roughly!


Is a default gateway mandatory for Oracle RAC?

June 12th, 2009 . by admin

For a RAC installation you must specify a default gateway for the PUBLIC network. When crs starting, during the VIP status check, the default gateway of server is used as a ping target. Upon a ping failure, Oracle will decide that the current interface where the VIP is running has failed, and will initiate VIP failover.

Without a gateway a message is log in file $ORA_CRS_HOME/log/linux1/racg

2009-06-12 00:17:59.173: [ RACG][3068118720] [16742][3068118720][ora.linux1.vip]:
checkIf: Default gateway is not defined (host=linux1.localdomain) and eror when start a instance

 

[oracle@linux1 ~]$ srvctl start instance -d orcl -i orcl1
PRKP-1001 : Error starting instance orcl1 on node linux1
CRS-0215: Could not start resource 'ora.orcl.orcl1.inst'.

TODO:

1. Set a valid default gateway for PUBLIC network
Menu System -> Administration -> Network -> Edit eth0 -> Default gateway address

2. or if you don’t have a gateway, then open file in $CRS_HOME/bin/racgvip, change the value of variable

FAIL_WHEN_DEFAULTGW_NOT_FOUND=0

stop, start crs and all nodeapps again


RAC: Howto start/stop an instance with srvctl?

June 7th, 2009 . by admin

Stop instance orcl1 of database orcl

Verify if instance running?

[oracle@rac1 ~]$ ps -ef | grep orcl1 | grep pmon
oracle   12465     1  0 23:36 ?        00:00:00 ora_pmon_orcl1

Shutdown instance orcl1

[oracle@rac1 ~]$ srvctl stop instance -d orcl -i orcl1
[oracle@rac1 ~]$ ps -ef | grep orcl1 | grep pmon
[oracle@rac1 ~]$
[oracle@rac1 ~]$ sqlplus sys/doan@orcl as sysdba
...
SQL> select instance_number, instance_name from gv$instance order by 1;

INSTANCE_NUMBER INSTANCE_NAME
--------------- ----------------
              2 orcl2

Instance orcl1 is down. Instance orcl2 is running

 

Start instance orcl1 again

Start it!

[oracle@rac1 ~]$ srvctl start instance -d orcl -i orcl1

Verify if instance running?

[oracle@rac1 ~]$ ps -ef | grep orcl1 | grep pmon
oracle   31185     1  0 23:50 ?        00:00:00 ora_pmon_orcl1
[oracle@rac1 ~]$ sqlplus sys/doan@orcl as sysdba
...
SQL> select instance_number, instance_name from gv$instance order by 1;

INSTANCE_NUMBER INSTANCE_NAME
--------------- ----------------
              1 orcl1
              2 orcl2

Now there are two instance on RAC!


RAC: Storage Options for Oracle Clusterware, Database and Recovery Files

June 7th, 2009 . by admin
Storage option OCR+Voting Oracle software Database files Recovery
ASM     Yes Yes
OCFS Yes   Yes Yes
OCFS2 Yes Yes Yes Yes
Local   Yes    
NFS Yes Yes Yes  
Shared Raw Yes   Yes  

Note: blank is No!
 

- Cannot use ASM to store Oracle Clusterware files, because these files must be accessible before any ASM instance starts

- Oracle recommends: ASM as the storage for database and recovery files.

Links: http://download.oracle.com/docs/cd/B19306_01/install.102/b14203/storage.htm#CDECEBGH
 


10gR2 RAC: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

June 3rd, 2009 . by admin

Install 10gR2 RAC on Oracle EL5:
At end of root.sh on the last node vipca will fail to run with the following error:

...
Running vipca(silent) for configuring nodeapps
/u01/app/oracle/product/crs/jdk/jre//bin/java: error while loading shared libraries:
libpthread.so.0: cannot open shared object file: No such file or directory
[root@rac2 crs]#

..or later when you run srvctl to check the cluster and database configuration, for example

[oracle@rac2 lib]$ srvctl status database -d orcl
/u01/app/oracle/product/10.2.0/db_1/jdk/jre/bin/java: error while loading shared libraries:
libpthread.so.0: cannot open shared object file: No such file or directory

TODO: workaround!
There are 3 files must be modified on all nodes:

  /u01/app/oracle/product/crs/bin/vipca
  /u01/app/oracle/product/crs/bin/srvctl
  /u01/app/oracle/product/10.2.0/db_1/bin/srvctl

 

Modified vipca

Open file /u01/app/oracle/product/crs/bin/vipca, add the line in red:
 

if [ "$arch" = "i686" -o "$arch" = "ia64" ]
then
      LD_ASSUME_KERNEL=2.4.19
      export LD_ASSUME_KERNEL
fi
unset LD_ASSUME_KERNEL
#End workaround

Modified srvctl

Open file /u01/app/oracle/product/crs/bin/srvctl, add the line in red:
 

#Remove this workaround when the bug 3937317 is fixed
LD_ASSUME_KERNEL=2.4.19
export LD_ASSUME_KERNEL
unset  LD_ASSUME_KERNEL

After working around above, vipca will fail to run with the following error
if the VIP IP’s are in a non-routable range [10.x.x.x, 172.(16-31).x.x or 192.168.x.x]:

[root@rac2 bin]# ./vipca
Error 0(Native: listNetInterfaces:[3])
  [Error 0(Native: listNetInterfaces:[3])]

SOLUTION: run this for example

[root@rac2 bin]# pwd
/u01/app/oracle/product/crs/bin
[root@rac2 bin]# ./oifcfg setif -global eth0/192.168.1.0:public
[root@rac2 bin]# ./oifcfg setif -global eth1/10.10.10.0:cluster_interconnect
[root@rac2 bin]# ./oifcfg getif
eth0  192.168.1.0  global  public
eth1  10.10.10.0  global  cluster_interconnect

NOW: Run vipca again

[root@rac2 bin]# ./vipca

and follow the screen..

for more info: see MetaLink Note 414163.1