cancel
Showing results for 
Search instead for 
Did you mean: 

IP vs IPMultiNIC

jxcarter
Level 2

I am new to Veritas Clustering I am using Linux V6.2. The cluster is a 2 node cluster. Each server has dual public nics setup using Linux Binding configuration. So device bond0 is created on both servers. I am trying to decide which resource to use IP or IPMultiNIC, NIC or MultiNIC. I have research and couldn't find any doucmentation detailing under what circumstances you use either or. I am using VCS 6.1.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

jxcarter
Level 2

I discovered what was cauing the problem. It was the definition of the NIC resource NetworkHost;

 

Old:

NetworkHosts = {
"160.254.104.61,160.254.104.66,167.113.104.31,167.113.104.62" }     

 

New: I just used one host. It appears thatusing hares to add multiple host the NetworkHost results in the host being delimited only by commans not each address separated by comas and double quotes. I tested by removing all host bu one and the group came up without issue. Next I will manually modify the file separating them by double quotes and comma to see if the multiple host works. I will let everyone know.

 

NetworkHosts = { "160.254.104.61" }     

 

 

View solution in original post

3 REPLIES 3

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

The VCS Bundled agent guide describes the options as well as configuration examples.

Download from here: https://sort.symantec.com/documents/doc_details/sfha/6.1/Linux/ProductGuides/ 

or see this online version:  https://sort.symantec.com/public/documents/sfha/6.1/linux/productguides/html/vcs_bundled_agents/

jxcarter
Level 2

I have read the documentation and set the IP and Resource groups based on what I read. I am getting errors when trying to bring the service group on line. Linux V6.4. VCS 6.1. Below I have the error from the engine log, main.cf, and the output from ip addr show.

 

 

Error from engine log:

2014/11/03 17:54:05 VCS ERROR V-16-10031-7501 (r50vn10) NIC:nic_srp_rjatest_clsta:monitor:Invalid IP address specified Resource stat
e: Unknown.                                                                                                                       

 

main.cf:

[root@r50vn10 ~]# cat /etc/VRTSvcs/conf/config/main.cf                                                                             
include "OracleASMTypes.cf"                                                                                                        
include "types.cf"                                                                                                                 
include "Db2udbTypes.cf"                                                                                                           
include "OracleTypes.cf"                                                                                                           
include "SybaseTypes.cf"                                                                                                           
                                                                                                                                   
cluster rjaqalnx-clsta (                                                                                                           
        UserNames = { admin = dqrJqlQnrMrrPzrLqo,                                                                                  
                 xedd3xw = bIIdIQiLFhFHeLFeEF }                                                                                    
        BackupInterval = 5                                                                                                         
        Administrators = { admin, xedd3xw }                                                                                        
        UseFence = SCSI3                                                                                                           
        )                                                                                                                          
                                                                                                                                   
system r50vn10 (                                                                                                                   
        )                                                                                                                          
                                                                                                                                   
system r50vn20 (                                                                                                                   
        )                                                                                                                          
                                                                                                                                   
group ClusterService (                                                                                                             
        SystemList = { r50vn10 = 0, r50vn20 = 1 }                                                                                  
        AutoStartList = { r50vn10, r50vn20 }                                                                                       
        OnlineRetryLimit = 3                                                                                                       
        OnlineRetryInterval = 120                                                                                                  
        )                                                                                                                          
                                                                                                                                   
        NIC csgnic (                                                                                                               
                Device = eth0                                                                                                      
                )                                                                                                                  
                                                                                                                                   
        NotifierMngr ntfr (                                                                                                        
                SmtpServer = "smtpe.bnymellon.net"                                                                                 
                SmtpRecipients = { "james.carter@bnymellon.com" = Information }                                                    
                )                                                                                                                  
                                                                                                                                   
        ntfr requires csgnic                                                                                                       
                                                                                                                                   
                                                                                                                                   
        // resource dependency tree                                                                                                
        //                                                                                                                         
        //      group ClusterService                                                                                               
        //      {                                                                                                                  
        //      NotifierMngr ntfr                                                                                                  
        //          {                                                                                                              
        //          NIC csgnic                                                                                                     
        //          }                                                                                                              
        //      }                                                                                                                  
                                                                                                                                   
                                                                                                                                   
group sg_srp_rjatest_clista (                                                                                                      
        SystemList = { r50vn10 = 1, r50vn20 = 2 }                                                                                  
        )                                                                                                                          
                                                                                                                                   
        IP vip_srp_rjatest_clsta (                                                                                                 
                Critical = 0                                                                                                       
                Device = bond0                                                                                                     
                Address = "160.254.104.95"                                                                                         
                NetMask = "255.255.255.0"                                                                                          
                )                                                                                                                  
                                                                                                                                   
        Mount mnt_vg01 (                                                                                                           
                Enabled = 0                                                                                                        
                )                                                                                                                  
                                                                                                                                   
        NIC nic_srp_rjatest_clsta (                                                                                                
                Critical = 0                                                                                                       
                Device = bond0                                                                                                     
                NetworkHosts = {                                                                                                   
                         "160.254.104.61,160.254.104.66,167.113.104.31,167.113.104.62" }                                           
                )                                                                                                                  
                                                                                                                                   
        vip_srp_rjatest_clsta requires nic_srp_rjatest_clsta                                                                       
                                                                                                                                   
                                                                                                                                   
        // resource dependency tree                                                                                                
        //                                                                                                                         
        //      group sg_srp_rjatest_clista                                                                                        
        //      {                                                                                                                  
        //      Mount mnt_vg01                                                                                                     
        //      IP vip_srp_rjatest_clsta                                                                                           
        //          {                                                                                                              
        //          NIC nic_srp_rjatest_clsta                                                                                      
        //          }                                                                                                              
        //      }                                                                                                                  
                                                                                                                                   
                                                                                                                                   
group vxfen (                                                                                                                      
        SystemList = { r50vn10 = 0, r50vn20 = 1 }                                                                                  
        AutoFailOver = 0                                                                                                           
        Parallel = 1                                                                                                               
        )                                                                                                                          
                                                                                                                                   
        CoordPoint coordpoint (                                                                                                    
                LevelTwoMonitorFreq = 5                                                                                            
                )                                                                                                                  
                                                                                                                                   
        Phantom RES_phantom_vxfen (                                                                                                
                )                                                                                                                  
                                                                                                                                   
                                                                                                                                   
                                                                                                                                   
        // resource dependency tree                                                                                                
        //                                                                                                                         
        //      group vxfen                                                                                                        
        //      {                                                                                                                  
        //      Phantom RES_phantom_vxfen                                                                                          
        //      CoordPoint coordpoint                                                                                              
        //      }              

 

Output from IP addr show:

[root@r50vn10 ~]# ip addr show                                                                                                     
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN                                                                
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00                                                                          
    inet 127.0.0.1/8 scope host lo                                                                                                 
    inet6 ::1/128 scope host                                                                                                       
       valid_lft forever preferred_lft forever                                                                                     
2: eth0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0 state UP qlen 1000                                 
    link/ether 9c:b6:54:85:20:60 brd ff:ff:ff:ff:ff:ff                                                                             
3: eth1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0 state UP qlen 1000                                 
    link/ether 9c:b6:54:85:20:60 brd ff:ff:ff:ff:ff:ff                                                                             
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000                                                    
    link/ether e4:11:5b:97:7a:4c brd ff:ff:ff:ff:ff:ff                                                                             
    inet6 fe80::e611:5bff:fe97:7a4c/64 scope link                                                                                  
       valid_lft forever preferred_lft forever                                                                                     
5: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000                                                    
    link/ether e4:11:5b:97:7a:4d brd ff:ff:ff:ff:ff:ff                                                                             
    inet6 fe80::e611:5bff:fe97:7a4d/64 scope link                                                                                  
       valid_lft forever preferred_lft forever                                                                                     
6: eth4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000                                                            
    link/ether e4:11:5b:97:7a:4e brd ff:ff:ff:ff:ff:ff                                                                             
7: eth5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000                                                            
    link/ether e4:11:5b:97:7a:4f brd ff:ff:ff:ff:ff:ff                                                                             
8: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP                                                 
    link/ether 9c:b6:54:85:20:60 brd ff:ff:ff:ff:ff:ff                                                                             
    inet 160.254.104.90/24 brd 160.254.104.255 scope global bond0                                                                  
    inet6 fe80::9eb6:54ff:fe85:2060/64 scope link                                                                                  
       valid_lft forever preferred_lft forever                                                                                    

                                                                                              

 

 

jxcarter
Level 2

I discovered what was cauing the problem. It was the definition of the NIC resource NetworkHost;

 

Old:

NetworkHosts = {
"160.254.104.61,160.254.104.66,167.113.104.31,167.113.104.62" }     

 

New: I just used one host. It appears thatusing hares to add multiple host the NetworkHost results in the host being delimited only by commans not each address separated by comas and double quotes. I tested by removing all host bu one and the group came up without issue. Next I will manually modify the file separating them by double quotes and comma to see if the multiple host works. I will let everyone know.

 

NetworkHosts = { "160.254.104.61" }