• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1043
  • Last Modified:

AIX, install and NIC

I installed AIX 7.1 on an LPAR.  then I set up the TCPIP for en2

I choose 'yes' for start now and received an OK message response.

So I logged into the system as root, but when I tried to ping my gateway it failed

I had never hit the "Task Completed[ - Exit to Login", so I rebooted and went back to the screen I had originally configured the NIC.  I hit the start now again on the TCPIP config again, and this time it fails

How can I diagnose this problem ?
0
Los Angeles1
Asked:
Los Angeles1
  • 3
  • 3
1 Solution
 
woolmilkporcCommented:
>> this time it fails <<

As always: Which message(s) do you see? Something in errpt?
0
 
Los Angeles1Author Commented:
I have 4 NIC's

I can not configure en0 or en1, as I get the following error when I select them using smitty mktcpip

                                     TCP/IP                                     
                                                                                
Move cursor to desired item and press Enter.                                    
                                                                                
  Minimum Configuration & Startup                                               
  
  
                                ERROR MESSAGE                                 
                                                                              
   Press Enter or Cancel to return to the                                     
   application.                                                               
                                                                              
     1800-106 An error occurred:                                              
                                                                              
     lsattr: 0514-520 Cannot find information in the predefined device        
             configuration database for the following:                        
             adapter/pciex/a219100733e7000                                    
     #host:addr:mask:_rawname:nameserv:domain:gateway:cost:activedgd:type:s   
     tart                                                                     
     lp2:::en0:10.14.10.10:localdomain.com:10.14.10.10:0:no:N/A:no            
                                                                              
                                                                              
   F1=Help                 F2=Refresh              F3=Cancel                  
F1 F8=Image                F10=Exit                Enter=Do                   
F9 

Open in new window


I can configure the other 2 NIC's (en2 and en3), and when I configure and start them with the START NOW option enabled, I get the following:

Command: OK            stdout: yes           stderr: no                         
                                                                                
Before command completion, additional instructions may appear below.            
                                                                                
[TOP]                                                                           
en3                                                                             
lp2                                                                             
inet0 changed                                                                   
en3 changed                                                                     
inet0 changed                                                                   
Checking for srcmstr active...complete                                          
Starting tcpip daemons:                                                         
0513-029 The syslogd Subsystem is already active.                               
Multiple instances are not supported.                                           
0513-029 The sendmail Subsystem is already active.                              
Multiple instances are not supported.                                           
0513-029 The inetd Subsystem is already active.                                 
[MORE...11]                                                                     
                                                                                
F1=Help             F2=Refresh          F3=Cancel           F6=Command          
F8=Image            F9=Shell            F10=Exit            /=Find              
n=Find Next  

Open in new window


The strange thing about this is it takes about 90 seconds to perform the previous command in smitty mktcpip

After AIX says that it has configured the NIC, I try to ping, and get the following:

# ping 10.14.10.10                                                              
PING 10.14.10.10: (10.14.10.10): 56 data bytes                                  
                                                                                
^C                                                                              
----10.14.10.10 PING Statistics----                                             
13 packets transmitted, 0 packets received, 100% packet loss                    
# 

Open in new window

0
 
woolmilkporcCommented:
Are ent0 and ent1 of device types different than ent2/3, and have they been added to the LPAR after the initial AIX installation?

It looks as if the driver was missing: "devices.pciex.a2191007df1033e7.rte" and "devices.pciex.a2191007df1033e7.diag"

Check with lslpp!

What do you get with

cfgmgr -v ent0

?

If cfgmgr complains about a missing driver load (don't mount) the installation DVD and issue:

cfgmgr -i /dev/cd0

Also, the config string looks a bit strange. Did you forget to specify IP and mask?

P.S. Are you really satisfied with the answer you accepted to your "Clone LPAR" question?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
Los Angeles1Author Commented:
Both NIC's are dual port Boradcom NetXTreme 10GB, same device

smitty mktcpip reports the following devices

 
  
                         Available Network Interfaces                         
                                                                              
   Move cursor to desired item and press Enter.                               
                                                                              
     en0   01-00   Standard Ethernet Network Interface                        
     en1   01-01   Standard Ethernet Network Interface                        
     en2           Standard Ethernet Network Interface                        
     en3           Standard Ethernet Network Interface                        
     et0   01-00   IEEE 802.3 Ethernet Network Interface                      
     et1   01-01   IEEE 802.3 Ethernet Network Interface                      
     et2           IEEE 802.3 Ethernet Network Interface                      
     et3           IEEE 802.3 Ethernet Network Interface                      
                                                                              
   F1=Help                 F2=Refresh              F3=Cancel                  
   F8=Image                F10=Exit                Enter=Do                   
   /=Find                  n=Find Next        

Open in new window

                               
    

I get the following from lslpp

# lslpp -l | grep ent0    
# lslpp -l | grep ent1    
# lslpp -l | grep ent2   
# lslpp -l | grep ent3  
#                        
# lslpp -l | grep en0    
# lslpp -l | grep en1     
# lslpp -l | grep en2     
# lslpp -l | grep en3  
#           

Open in new window


I could not get the "cfgmgr -v ent0" command to work. I could do the following:

# cfgmgr -i ent0      
0503-105 geninstall: The device or directory: /ent0 does not exist.  
#     

Open in new window

                     \
                                                   
I also tried this with the verbose option, but could not quite see anything saying it could not find a device manager

It appears to be able to see ent2 and ent3, and one of the many screens resulting form the "cfgmgr -i ent0 -v" was the following

vsa0  
ent2   
ent3    
vscsi0      
****************** no stderr ***********  
----------------          
Time: 17        LEDS: 0x2022 for pci1   
Number of running methods: 2     
----------------            
attempting to configure device 'vsa0'  
Time: 17        LEDS: 0x4ee     
invoking /etc/methods/cfgvcon -l vsa0    
Number of running methods: 3   
----------------             
attempting to configure device 'ent2'   
Time: 17        LEDS: 0x25b2    
invoking /usr/lib/methods/cfgvioent -l ent2  
Number of running methods: 4   
----------------             
attempting to configure device 'ent3'   
Time: 17        LEDS: 0x25b2       
invoking /usr/lib/methods/cfgvioent -l ent3    
Number of running methods: 5      

Open in new window

 
                                           
A couple questions

1> should I proceed with isntalling a device driver

2> What do you mean by 'load' the DVD.  How do I do that, do you  mean simply placing the DVD into the DVD device ?

Thanks
0
 
Los Angeles1Author Commented:
Regarding your last question, this is how I configured en2

                        Minimum Configuration & Startup                         
                                                                                
 To Delete existing configuration data, please use Further Configuration menus  
                                                                                
Type or select values in entry fields.                                          
Press Enter AFTER making all desired changes.                                   
                                                                                
[TOP]                                                   [Entry Fields]          
* HOSTNAME                                           [lp2]                      
* Internet ADDRESS (dotted decimal)                  [10.14.52.223]             
  Network MASK (dotted decimal)                      [255.255.0.0]              
* Network INTERFACE                                   en2                       
  NAMESERVER                                                                    
           Internet ADDRESS (dotted decimal)         [10.14.10.10]              
           DOMAIN Name                               [localdomain.com]          
  Default Gateway                                                               
       Address (dotted decimal or symbolic name)     [10.14.10.10]              
       Cost                                          [0]                      # 
       Do Active Dead Gateway Detection?              no                     +  
[MORE...2]                                                                      
                                                                                
F1=Help             F2=Refresh          F3=Cancel           F4=List             
Esc+5=Reset         F6=Command          F7=Edit             F8=Image            
F9=Shell            F10=Exit            Enter=Do          

Open in new window

0
 
woolmilkporcCommented:
To my last question - I asked what you entered before you received the output in your comment #38355653 which was obviously your attempt to configure en0, not en2.

Next, what do you see with "lsdev -Ccadapter"?

The output from smitty mktcpip indicates that ent2/3 come from VIO, whereas ent0/1 are directly attached (i.e. are "real hardware" requiring quite different drivers)

Issue

lslpp -l | grep a2191007df1033e7

If this returns

 devices.pciex.a2191007df1033e7.diag
 devices.pciex.a2191007df1033e7.rte

you won't have to install anything.

If it returns nothing assign a DVD drive to the LPAR,  put the DVD into it and close the door.

Then issue

cfgmgr -i /dev/cd0

where cd0 is your DVD drive.

"-i ..." designates an input device containing driver software, nothing else.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now