cancel
Showing results for 
Search instead for 
Did you mean: 

VCS configuration for Solaris IPMP

brucemcgill_n1
Level 4
Hi All,

I am trying to configure hme0 and qfe0 as part of IPMP group with virtual IP address being 10.0.0.200 which will migrate between node1 and node2.

Will this Solaris 10 IPMP configuration work? (a partial main.cf file):

group public_network (
                         SystemList = { node1 = 0, node2 = 1 }
                         Parallel = 1
                         AutoStartList = { node1, node2 }
 )
 
IPMultiNICB res_name2 (
                        BaseResName = public_network
                        Address = "10.0.0.200"
                        NetMask = "255.0.0.0"
  )
 
 MultiNICB res_name1 (
                       Device = { hme0 = 0, qfe0 = 1 }
  )

I want to use the virtual IP address for Oracle. I will be creating the Oracle resource group.

For the failover resource group, oracle-db, the partial listing of main.cf file will be:

group oracle-db (
            SystemList = { node1 = 0, node2 = 1 }
            AutoStartList = { node1 }
 )
 
 IP oracle-db_ip (
            Device = hme0
            Address = "10.0.0.200"
            NetMask = "255.0.0.0"
  )
 
 Netlsnr RP1_netlsnr (
           Owner = oracle
           Home = "/oracle/RP1/102_64"
           TnsAdmin = "/oracle/RP1/102_64/network/admin"
           Listener = LISTENER
  )
 
Oracle RP1_oracle (
          Sid = RP1
          Owner = oracle
          Home = "/oracle/RP1/102_64"
          Pfile = "/oracle/RP1/102_64/dbs/initRP1.ora"
  )
 
Proxy oracle-db-nic_proxy (
         TargetResName = res_name2
  )
 
Proxy oracle-db-cfs_proxy (
         TargetResName = cfs_online_phantom
  )


Regards,
Bruce
 
1 ACCEPTED SOLUTION

Accepted Solutions

Gaurav_S
Moderator
Moderator
   VIP    Certified
couple of issues...

1) you are using 10.0.0.200 twice ... i.e oracle-db_ip & res_name2 ... this is not correct / recommended , use it just in oracle group....

2) multinicb resource should be used in a separate parallel group with a phantom resource (since NIC is persistent resource), see VCS bundled agents guide for reference...

3) If u intend to use IPMP, u need to set UseMpathd =1 for multinicb resource, again refer VCS bundled agents guide for reference...

guide can be found here

https://vos.symantec.com/documents

Gaurav

View solution in original post

3 REPLIES 3

Gaurav_S
Moderator
Moderator
   VIP    Certified
couple of issues...

1) you are using 10.0.0.200 twice ... i.e oracle-db_ip & res_name2 ... this is not correct / recommended , use it just in oracle group....

2) multinicb resource should be used in a separate parallel group with a phantom resource (since NIC is persistent resource), see VCS bundled agents guide for reference...

3) If u intend to use IPMP, u need to set UseMpathd =1 for multinicb resource, again refer VCS bundled agents guide for reference...

guide can be found here

https://vos.symantec.com/documents

Gaurav

brucemcgill_n1
Level 4
Hi Gaurav,

   Thanks for your inputs. So should the main.cf file contain the following:

group public_network (
 SystemList = { node1 = 0, node2 = 1 }
 Parallel = 1
 AutoStartList = { node1, node2 }
 )

 MultiNICB ipmp (
  UseMpathd = 1
  Device @node1 = { hme0 = "", qfe0 = "" }
  Device @node2 = { hme0 = "", qfe0 = "" }
  GroupName = vcs_ipmp
  )
 Phantom public_network_phantom (
  )
group public_network (
 SystemList = { node1 = 0, node2 = 1 }
 Parallel = 1
 AutoStartList = { node1, node2 }
 )

group oracle-db (
 SystemList = { node1 = 0, node2 = 1 }
 AutoStartList = { node1, node2 }
 )
 IP oracle-db_ip (
  Device = hme0
  Address = "10.0.0.200"
  NetMask = "255.0.0.0"
  )
 Netlsnr RP1_netlsnr (
  Owner = oracle
  Home = "/oracle/RP1/102_64"
  TnsAdmin = "/oracle/RP1/102_64/network/admin"
  Listener = LISTENER
  )
 Oracle RP1_oracle (
  Sid = RP1
  Owner = oracle
  Home = "/oracle/RP1/102_64"
  Pfile = "/oracle/RP1/102_64/dbs/initRP1.ora"
  )
 Proxy oracle-db-nic_proxy (
  TargetResName = public_network_phantom
  )
 Proxy oracle-db-cfs_proxy (
  TargetResName = cfs_online_phantom
  )
 requires group cfs online local firm
 oracle-db_ip requires oracle-db-nic_proxy
 RP1_netlsnr requires oracle-db_ip
 RP1_netlsnr requires RP1_oracle
 RP1_oracle requires oracle-db-cfs_proxy

Regards,
Bruce

Gaurav_S
Moderator
Moderator
   VIP    Certified

looks much better, however remove duplicate entry for group "public_network"......

& I believe that IPMP config is setup correctly at solaris level...

Gaurav