Oracle B32100-01 User Manual
Page 127
Pre-Installation Steps for OracleAS Cold Failover Cluster
Installing in High Availability Environments: OracleAS Cold Failover Cluster
8-3
2.
Add the following line to the /etc/hosts file on the active node:
ip_address hostname.domain hostname
For example:
138.1.12.191 vhost.mydomain.com vhost
3.
Determine the primary public network interface.
The primary public network interface for Ethernet encapsulation is typically lan0
on HP-UX Itanium.
/usr/bin/netstat -i
Using this command, search for a network interface that has an Address value of
the physical hostname of the node.
4.
Find an available index number for the primary public network interface.
Using the same command in step 3, determine an available index number for an
additionl IP address to the primary public network interface.
For example, on HP-UX Itanium, if the following is the output of the
/usr/bin/netstat -i
command and lan0 is determined to be the primary
public interface in step 3, then lan0:2 is available for an additional IP address.
Name
Mtu
Network
Address
Ipkts
Opkts
lan0:1
1500
datacenter1
www2.mydomain.com
1050265
734793
lan1*
1500
none
none 0
0
lan0
1500
datacenter1
www1.mydomain.com 39783928
41833023
lo0
4136
loopback
localhost
1226188
1226196
Do not use 0 as the index number because interface:0 is typically the same as
just interface on most systems. For example, lan0:0 is the same as lan0 on
HP-UX Itanium.
5.
Add the virtual IP address to the primary public network interface by running the
following command, as the root user, using the available index number from step
4:
/usr/sbin/ifconfig
primary_public_interface:available_index ip_address
For example, enter the following command if lan0:2 is available:
/usr/sbin/ifconfig
lan0:2 138.1.12.191
6.
Check that the virtual IP address is configured correctly:
1.
Use the instructions listed in step 3 to confirm the new entry for the primary
public interface:available_index
entry created in step 5.
2.
Try to connect to the node using the virtual hostname and virtual IP address
from another node. For example, entering both of the following commands
Note:
You must use the same NETMASK and BROADCAST
values for this interface as those used for the primary public
network interface (lan0 in this example). Modify the ifconfig
commands in this step to include the appropiate netmask and
broadcast
options.