Hanfs problem

ITEM: RTA000071969



We have a customer installation where we try to install a HANFS                 
cluster.                                                                        
                                                                                
The nodes are Model 370s. The shared disks are in one 9334-501.                 
The hardware is correctly installed, the disk takeover works fine               
when it is done manually.                                                       
                                                                                
However, if they try to start HANFS, the message                                
                                                                                
   hanfsd: Cannot get valid configuration information (227)                     
                                                                                
appears, and hanfsd terminates.                                                 
                                                                                
I have appended configuration information, configuration files and              
the contents of the log file.                                                  
                                                                                
What is wrong here? Thanks in advance.                                          
                                                                                
 Configuration information :                                                    
 -------------------------                                                      
                                                                                
 Server (RS/6000 - 370 )                Backup (RS/6000 - 370 )                 
 AIX 3.2.5                              AIX 3.2.5                               
                                                                                
   hanfs.obj U403233                    hanfs.obj  U403233                      
 .    U422424                               U422424                             
 .    U491146                               U491146                             
                                                                                
 Network :                                                                      
 Primary IP name   : RS6DBS                        RS6ONT                      
 Secondary IP name : RS6DBS                        RS6ONT                       
 Tertiaire IP name : RS6DBS2                       RS6ONT2                      
 Primary IP address   : 193.58.99.152              193.58.99.154                
 Secondary IP address : 193.58.99.153              193.58.99.155                
 Tertiarie IP address : 192.1.1.1                  192.1.1.2                    
 Network mask : 255.255.255.0                      255.255.255.0                
 Primary Network If   : tr0                        tr0                          
 Secondary Network If : tr1                        tr1                          
 Tertiare Network If  : sl0                        sl0                          
 Primary Adapter : tok0                            tok1                         
 Prim Hardware Address : 08005A81ACBD              08005A81B095                 
 .. slot : 00-03                     00-03                                      
 Secondary Adapter     : tok1                      tok1                         
 .. slot : 00-04                     00-04                                      
                                                                               
 SCSI Adapter :                                                                 
 00-00-0S scsi0                                    scsi0                        
 00-01    scsi1                                    scsi1                        
 00-02                                                                          
 00-03                                                                          
 00-04                                                                          
 00-05                                                                          
 00-06                                                                          
 00-07                                                                          
 00-08                                                                          
                                                                                
 SCSI Adapter and Device Relationship :                                         
 SCSI Adapter names :                                                           
 Server : SCSI0   hdisk0 00                       SCSI0   hdisk0 00             
 . SCSI1   hdisk1 00    ID=6               SCSI1   hdisk1 00    ID=7           
 .. hdisk2 01                               hdisk2 01                           
 .. hdisk3 02                               hdisk3 02                           
 .. rmt0   03                               rmt0   03                           
                                                                                
 Logical Volume Names :                                                         
 SHARED VOLUME GROUP = 'dbsvg' -> Common Major number = '40'                    
 /dev/dbsora     /users/union/oracle7                                           
 /dev/dbstmp     /users/union/common/data/oracle                                
                                                                                
 Configuration files :                                                          
 -------------------                                                            
                                                                                
 /etc/hanfs :                                                                   
 ----------                                                                     
 On Server :                                                                   
                                                                                
 RS6DBS:                                                                        
 .ptwin ..= 193.58.99.152                                                       
 .stwin ..= 193.58.99.153                                                       
 .ttwin ..= 192.1.1.1                                                           
 .pnalocn .= 00-03                                                              
 .snalocn .= 00-04                                                              
 .port ..= 255                                                                  
 .timeout .= 30                                                                 
 .numpings .= 10                                                                
 .logfile .= /tmp/hanfs.log                                                     
 .exportfile .= /etc/exports.hanfs                                              
 .graceperiod .= 120                                                            
 .pdalocn0  .= 00-01                                                            
                                                                               
 On Backup :                                                                    
                                                                                
 RS6ONT:                                                                        
 .ptwin ..= 193.58.99.154                                                       
 .stwin ..= 193.58.99.155                                                       
 .ttwin ..= 192.1.1.2                                                           
 .pnalocn .= 00-03                                                              
 .snalocn .= 00-04                                                              
 .port ..= 255                                                                  
 .timeout .= 30                                                                 
 .numpings .= 10                                                                
 .logfile .= /tmp/hanfs.log                                                     
 .exportfile .= /etc/exports.hanfs                                              
 .graceperiod .= 120                                                            
 .sdalocn0  .= 00-01                                                           
                                                                                
 /etc/exports.hanfs :                                                           
 ------------------                                                             
                                                                                
 /users/union/oracle7 -                                                         
 /users/union/common/data/oracle                                                
                                                                                
 Log files :                                                                    
 ---------                                                                      
                                                                                
 On Server and on Backup :                                                      
                                                                                
                                                                                
 ----- Wed Apr 27 12:14:09 1994                                                 
 hanfsd: Starting...                                                           
                                                                                
                                                                                
                                                                                
 ---- Wed Apr 27 12:14:09 1994                                                  
  hanfsd: Cannot get valid configuration information (227)                      
                                                                                
 ----- Wed Apr 27 12:14:09 1994                                                 
 hanfsd: Terminating...                                                         
                                                                                
                                                                                
ANSWER                                                                          
Thank you for your very complete description of your configuration. The         
error code number 227 that you are getting in your hanfsd error message         
means that the configuration of your tertiary interface is missing or           
invalid. You might want to redo the configuration of your tertiary             
interfaces on both machines, and also check to see that you have IP             
labels (hostnames) and IP addresses for those interfaces defined in             
your /etc/hosts file on each machine. Since you have given such complete        
information, I have also found some other things that will cause                
problems for you, so I have the following suggested actions to make sure        
you can get HANFS successfully running.                                         
                                                                                
 1. In your section where you list the contents of your /etc/hanfs              
    configuration file on each machine, there is a problem in your first        
    3 entries (ptwin, stwin, ttwin) on each machine. These are supposed         
    to be filled in with the addresses of the other machine in the pair,        
    not for the machine itself. For instance, your corrected entries            
    should be:                                                                  
           RS6DBS                       RS6ONT                                  
    ptwin = 193.58.99.154           ptwin = 193.58.99.152                      
    stwin = 193.58.99.155           stwin = 193.58.99.153                       
    ttwin = 192.1.1.2               ttwin = 192.1.1.1                           
                                                                                
    NOTE: If you were using the example in the redbook "High Availability       
          Strategies for AIX" as a guide, I must apologize. The example         
          in that book has made the same mistake. This will be corrected        
          in an update to the book.                                             
                                                                                
 2. It is not shown in your information, but one step that is easily            
    missed is as follows. On each machine, the primary network interface        
    (in your case tr0) must be in a detached state when HANFS is started.       
    This can be done through the "smit chinet" panel.                           
                                                                                
 3. In your "Configuration Information" listing that you have provided,         
    you say that "tok1" is the Primary Adapter on RS6ONT. I think this         
    is probably just a typing mistake, but it should of course be "tok0".       
    Also, in this section, I would suggest that you assign unique IP            
    names to your secondary interfaces (for instance RS6DBS_sec and             
    RS6ONT_sec). These unique names should also be reflected in the             
    /etc/hosts files on both machines.                                          
                                                                                
I hope these suggestions help to get your HANFS configuration running           
successfully.                                                                   
                                                                                
S e a r c h - k e y w o r d s:                                                  
HANFS HANFSD CONFIGURATION VALID 227                                            
                                                                                
                                                                                
                                                                                
                                                                               


WWQA: ITEM: RTA000071969 ITEM: RTA000071969
Dated: 01/1995 Category: ITSAIHA6000
This HTML file was generated 99/06/24~12:43:26
Comments or suggestions? Contact us