![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
|||||||||||||||||||||||
Solution Type Technical Instruction Sure Solution 1468364.1 : Exadata - How to Change interconnect bonding interface on the compute nodes
In this Document
Applies to:Exadata Database Machine V2 - Version All Versions and laterInformation in this document applies to any platform. ***Checked for relevance on 09-Dec-2013*** GoalAs described in the Exadata Database Machine Owners guide, Chapter 8 "Earlier releases of Oracle Exadata Database Machine X2-2 (with X4170 and X4275 servers) used bond0 and bond1 as the names for the bonded InfiniBand This document describes the steps to rename the bonding interface on the existing nodes of the cluster, primarly during the expansion of a cluster by adding another rack
Applies to: After the procedure, on the compute nodes, bonding interface will be identified by bondib0 SolutionOverview
Details
sql>SELECT inst_id, name,value FROM gv$parameter WHERE name ='cluster_interconnects';
sql>ALTER SYSTEM SET CLUSTER_INTERCONNECTS='192.168.3.1' SCOPE=SPFILE SID='+ASM1';
sql>ALTER SYSTEM SET CLUSTER_INTERCONNECTS='192.168.3.2' SCOPE=SPFILE SID='+ASM2'; sql>ALTER SYSTEM SET CLUSTER_INTERCONNECTS='192.168.3.3' SCOPE=SPFILE SID='+ASM3';
$srvctl stop home -o db_home -s state_filename -n node_name
$ oifcfg iflist
The following is an example of the output: eth0 10.141.134.0 eth3 10.141.140.0 bondeth0 10.141.132.0 bond0 192.168.8.0 bond0 169.254.0.0 Note: Results will be different on each system due to factors like bonding not used over the Ethernet adapters. From previous results: eth0 is the management network eth3 is an additional subnet over the Ethernet 1gb bondeth0 is the bonding driver for the public network bond0 is the bonding driver for the Infiniband network
$ oifcfg getif
The following is an example of the output: bondeth0 10.141.132.0 global public bond0 192.168.8.0 global cluster_interconnect * Assign BONDIB0 as the global cluster interconnect interface using the following command: $ oifcfg setif -global c_interface/c_IP_address:cluster_interconnect In the preceding command, c_interface is the interface to be used for cluster interconnect, and c_IP_address is the IP address for the cluster interconnect. The following is an example of the command: $ oifcfg setif -global bondib0/192.168.8.0:cluster_interconnect
$ oifcfg getif
The following is an example of the output: bondeth0 10.141.132.0 global public bond0 192.168.8.0 global cluster_interconnect bondib0 192.168.8.0 global cluster_interconnect
# GRID_HOME/grid/bin/crsctl stop crs -f
# GRID_HOME/grid/bin/crsctl disable crs
It should be 3 replacements. #mv /opt/oracle.cellos/cell.conf /opt/oracle.cellos/cell.conf.old
#sed -d 's/bond0/bondib0/g' /opt/oracle.cellos/cell.conf.old > /opt/oracle.cellos/cell.conf #grep bondib0 /opt/oracle.cellos/cell.conf should return something like 'Name' => 'bondib0', 'Master' => 'bondib0' 'Master' => 'bondib0' For reference, below is an example of file cell.conf: $VAR1 = { 'Internal' => { 'Interface infiniband prefix' => 'ib', 'Interface ethernet prefix' => 'eth' }, 'Hostname' => 'host.domain.com', 'Timezone' => 'America/New_York', 'Interfaces' => [ { 'IP address' => '192.168.10.5', 'Hostname' => 'host-priv.domain.com', 'Netmask' => '255.255.252.0', 'Net type' => 'Private', 'Slaves' => [ 'ib0', 'ib1' ], 'Name' => 'bondib0', 'State' => 1 }, { 'Hostname' => 'host.domain.com', 'IP address' => 'XX.XX.XX.XX', 'Netmask' => '255.255.254.0', 'Net type' => 'Management', 'Name' => 'eth0', 'State' => 1, 'Gateway' => 'XX.XX.XX.XX' }, { 'Hostname' => 'host-dr.domain.com', 'IP address' => 'XX.XX.XX.XX', 'Netmask' => '255.255.255.0', 'Net type' => 'Other', 'Name' => 'eth3', 'State' => 1, 'Gateway' => 'XX.XX.XX.XX' }, { 'Hostname' => 'hostpublic.domain.com', 'IP address' => 'XX.XX.XX.XX', 'Netmask' => '255.255.254.0', 'Net type' => 'SCAN', 'Name' => 'eth4', 'State' => 1, 'Gateway' => 'XX.XX.XX.XX' }, { 'Name' => 'ib0', 'State' => 1, 'Master' => 'bondib0' }, { 'Name' => 'ib1', 'State' => 1, 'Master' => 'bondib0' } ], 'Ntp drift' => '/var/lib/ntp/drift', 'Version' => '11.2.2.3.0', 'Ntp servers' => [ 'XX.XX.XX.XX' ], 'Nameservers' => [ 'XX.XX.XX.XX', 'XX.XX.XX.XX', 'XX.XX.XX.XX' ], 'Unlinked interfaces' => [], 'Node type' => 'db', 'Default gateway device' => 'eth4', 'ilom' => { 'ILOM Nameserver' => 'XX.XX.XX.XX', 'ILOM Timezone' => 'America/New_York', 'ILOM Netmask' => '255.255.254.0', 'ILOM IP address' => 'XX.XX.XX.XX', 'ILOM Search' => 'us.oracle.com', 'ILOM Second NTP server' => '0.0.0.0', 'ILOM Short Hostname' => 'host-ilom', 'ILOM Fully qualified hostname' => 'host-ilom.us.oracle.com', 'ILOM First NTP server' => 'XX.XX.XX.XX', 'ILOM Gateway' => 'XX.XX.XX.XX', 'ILOM Use NTP Servers' => 'enabled' } };
#cd /etc/sysconfig/network-scripts #grep bondib0 if* This should report entries in 3 files: # grep bondib0 ifc* ifcfg-bondib0:DEVICE=bondib0 ifcfg-ib0:MASTER=bondib0 ifcfg-ib1:MASTER=bondib0 Example of the configuration files ## ifcfg-bondib0 #### DO NOT REMOVE THESE LINES #### #### %GENERATED BY CELL% #### DEVICE=bondib0 USERCTL=no BOOTPROTO=none ONBOOT=yes IPADDR=192.168.10.5 NETMASK=255.255.252.0 NETWORK=192.168.8.0 BROADCAST=192.168.11.255 BONDING_OPTS="mode=active-backup miimon=100 downdelay=5000 updelay=5000 num_grat_arp=100" IPV6INIT=no MTU=65520 ## ifcfg-ib0 #### DO NOT REMOVE THESE LINES #### #### %GENERATED BY CELL% #### DEVICE=ib0 USERCTL=no ONBOOT=yes MASTER=bondib0 SLAVE=yes BOOTPROTO=none HOTPLUG=no IPV6INIT=no CONNECTED_MODE=yes MTU=65520 ## ifcfg-ib1 #### DO NOT REMOVE THESE LINES #### #### %GENERATED BY CELL% #### DEVICE=ib1 USERCTL=no ONBOOT=yes MASTER=bondib0 SLAVE=yes BOOTPROTO=none HOTPLUG=no IPV6INIT=no CONNECTED_MODE=yes MTU=65520
* Delete old file ifcfg-bond0 #rds-ping -c 10 <IPoIB>
# GRID_HOME/grid/bin/crsctl start crs
# GRID_HOME/grid/bin/crsctl enable crs
$oifcfg delif -global bond0
$oifcfg getif
bondeth0 10.141.132.0 global public bondib0 192.168.8.0 global cluster_interconnect
KNOWN ISSUES
References<BUG:14079368> - ADDNODE FAILING WITH CTSS DAEMON ABORTINGAttachments This solution has no attachment |
|||||||||||||||||||||||
|