5 Replies Latest reply: Jul 14, 2011 4:06 PM by user13691955 RSS

    Is there a way to use different NIC names in 10g RAC?

    user13691955
      For example node 1 has ipge0 for private, ipge1 for private and node 2 has Solaris default e1000g0 and e1000g1? Or do interface names have to match on all nodes? I am not referring to IPs or subnets - just NIC names.
      Here is some background.
      This was a 2 node 10g RAC on Solaris that has been in operation for years. Node 2 experienced a corrupt root partition (OS, nothing to do with Oracle), so OS was reinstalled. After OS reinstall I copied /var/opt/oracle/*.* from node 1, changed them to reflect node 2 info, plus CRS related files from /etc/init.d, such as init.crsd, etc. This is shared Oracle home, so Oracle continued to run on node 1 just fine.
      However, after crs startup nodeapps tells me "atlts04ra.atlts04.vip:ifconfig: status: SIOCGLIFFLAGS: ipge0: no such interface". Indeed, this interface does not exist on node 2.
      So, is there a way to instruct oracle to use different interface names for nodes? Or will vipca ask for matching NIC names just like disk mount names have to match?
      I want to avoid reinstallation of RAC because that will disrupt oracle database that has been running on shared oracle home all along.
      Thanks.
        • 1. Re: Is there a way to use different NIC names in 10g RAC?
          Bjoern Rost
          Same device names (and types) is a requirement. In Solaris you could get away with creating a new interface aggr1 with dladm on both nodes. These would have the same name on both servers regardless of the underlying device type.
          • 2. Re: Is there a way to use different NIC names in 10g RAC?
            585179
            user13691955 wrote:
            So, is there a way to instruct oracle to use different interface names for nodes? Or will vipca ask for matching NIC names just like disk mount names have to match?
            I want to avoid reinstallation of RAC because that will disrupt oracle database that has been running on shared oracle home all along.
            Thanks.

            Hi,

            No, unfortunately the NIC name must be the same across all nodes for example if public interface in node 1 is ipge0 then node 2 must have the same ipge0 however you can change the e1000g0 to ipge0.


            Cheers
            • 3. Re: Is there a way to use different NIC names in 10g RAC?
              user13691955
              Fzheng, I am very interested in your statement "however you can change the e1000g0 to ipge0".
              You mean to say there is an OS script that will downgrade ipge0 interfaces to e1000g0?
              I got some more information from SysAdmins yesterday. Apparently, when OS was reinstalled on node 2 after root partition corruption, they also patched it up to Solaris 10u9 (which by default created e1000g0-type interfaces). The first node still had 10u7 with ipge0 interfaces. We, the DBAs, were not aware of the upgrade. So, nodeapps cant start saying "no such interface"on node 2.
              You are probably referring to script /usr/sbin/e1000g_transition.
              Here is the description:
              "DESCRIPTION
              This script allows you to perform an optional driver upgrade
              for the Intel PRO/1000 device present on this system from the \"ipge\"
              network driver to the Sun standard \"e1000g\" network driver. The
              e1000g driver include features such as link aggregation as well as
              superior performance in most environments. Moving forward, e1000g
              will benefit from new features as they become available, bug fixes,
              and performance enhancements. The disadvantage is that some
              applications configuration files may require modification to use
              e1000g if they reference the ipge network interface.
              This script must be run in single user mode.
              This script will alter network interfaces and related system
              configuration files. Configuration files for 3rd party applications
              will NOT be changed. After running this script, applications present
              on the system may require maintenance. The system may be in an
              unsecured state. The effects of this script may be reversed using
              the backout (-b) option."
              So, if I understand you correctly, you are proposing to run this this script with the backout (-b) option on node 2, so interface names will match.
              Is this correct?
              Thanks.
              Vladimir Grigorian.
              http://vgrigorian.com
              • 4. Re: Is there a way to use different NIC names in 10g RAC?
                585179
                Hi,

                Sorry If my explanation if not really clear, the one I mentioned might be a bit tricky and needs extra work however there are easier options to do this

                - use dladm to rename datalink -> your solaris admin must know about it
                - create symbolic alias in /dev to the interface


                Hope this helps


                Cheers
                • 5. Re: Is there a way to use different NIC names in 10g RAC?
                  user13691955
                  Thank you so much for the reply.
                  Unfortunately, this option works in opensolaris only, not SPARC.
                  Regardless, I sincerely appreciate you both taking the time to answer.
                  Vladimir Grigorian.