Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

Impossible to delete an Auto Port Aggregation with smh

 
SOLVED
Go to solution
Highlighted
AntonyZEL
Occasional Contributor

Impossible to delete an Auto Port Aggregation with smh

Hello,

 In order to perform tests, I've created an APA with SMH on my hpux 11iv3 serveur.

Interface Name Subsystem Interface State Ports in Link Aggregate Mode IPv4 Address IPv6 Address
---------------------------------------------------------------------------------------------------------------------------------
lan900 hp_apa UP 1,2 LACP_AUTO xxx.xxx.xxx.xxx Not Configured
lan901 hp_apa UP 7,6 LACP_AUTO xxx.xxx.xxx.xxx Not Configured
lan0 iether DOWN Standalone MANUAL Not Configured Not Configured
lan3 iether DOWN Standalone MANUAL Not Configured Not Configured
lan8 iether DOWN Standalone LACP_AUTO Not Configured Not Configured
lan9 iether DOWN Standalone LACP_AUTO Not Configured Not Configured
lan902 hp_apa DOWN None Not_Enabled Not Configured Not Configured

I whant to delete lan902 but it's impossible.

I've tried :

my_sesrver:/ # nwmgr -d -A links=all -c lan902
Deletion of links all ports from lan902 succeeded.

And restart hpapa (/sbin/init.d/hpapa stop then /sbin/init.d/hpapa start)

but the line lan902 is still present in SMH.

I've modified the files /etc/rc.config.d/hp_apaconf and /etc/rc.config.d/hp_apaportconf to delete the configuration related to the lan902, restart hpapa but the lan902 is still present in smh

Interface Name Subsystem Interface State Ports in Link Aggregate Mode IPv4 Address IPv6 Address
---------------------------------------------------------------------------------------------------------

[...]
lan902 hp_apa DOWN None Not_Enabled Not Configured Not Configured

 

Can you help me to properly delete the lan902 ?

Thank you,

Regards,

Antony

 

here are the files hp_apaconf and hp_apaconf

-hp_apaconf

cat /etc/rc.config.d/hp_apaconf
#####################################################################
# (c) Copyright 1997-2009 Hewlett-Packard Development Company, L.P.
# @(#)B.11.31.1503_LR hp_apaconf
#####################################################################
#
# hp_apaconf : contains configuration values for HP Auto-Port Aggregation
# interfaces
#
# HP_APA_INTERFACE_NAME Name of Link Aggregation (lan900, lan901...)
#

[...]


#
# The following examples illustrate how to use the parameters defined
# above.
#
# HP_APA_MAX_LINKAGGS=25
# HP_APA_DEFAULT_PORT_MODE=MANUAL
# HP_APA_LACP_SYSTEM_ID_MODE=FIRST_APA_PORT
# HP_APA_USE_SYSLOG=1
#
# HP_APA_INTERFACE_NAME[0]=lan900
# HP_APA_LOAD_BALANCE_MODE[0]=LB_CPU
# HP_APA_GROUP_CAPABILITY[0]=3
# HP_APA_HOT_STANDBY[0]=off
#
#
#####################################################################

#####################################################################
# The HP_APA_INIT_ARGS and HP_APA_START_LA_PPA are reserved by HP.
# They are NOT user changable.
#####################################################################

HP_APA_START_LA_PPA=900
HP_APA_DEFAULT_PORT_MODE=MANUAL

HP_APA_INTERFACE_NAME[0]=lan900
HP_APA_LOAD_BALANCE_MODE[0]=LB_MAC
HP_APA_GROUP_CAPABILITY[0]=5
HP_APA_KEY[0]=900
HP_APA_HOT_STANDBY[0]=off
HP_APA_MANUAL_LA[0]=

HP_APA_INTERFACE_NAME[1]=lan901
HP_APA_LOAD_BALANCE_MODE[1]=LB_MAC
HP_APA_GROUP_CAPABILITY[1]=5
HP_APA_KEY[1]=901
HP_APA_HOT_STANDBY[1]=off
HP_APA_MANUAL_LA[1]=

# End of hp_apaconf configuration file

 

-hp_apaportconf

cat /etc/rc.config.d/hp_apaportconf
#####################################################################
# (c) Copyright 1997-2006 Hewlett-Packard Development Company, L.P.
# @(#)B.11.31.1503_LR hp_apaportconf $Revision: 1.8 $ $Date: 2000/05/15 16:21:10 $
#####################################################################
#
# hp_apaportconf : contains configuration values for Physical Ports for
# HP Auto-Port Aggregation interfaces
#
# HP_APAPORT_INTERFACE_NAME Name of physical interface (lan0, lan1...)
#
# HP_APAPORT_GROUP_CAPABILITY Set the group capability for the port specified
# by HP_APAPORT_INTERFACE_NAME. The group
# capability controls which link aggregations the
# specified port can be grouped with.
#


[...]

 

# HP_APAPORT_INTERFACE_NAME[1]=lan1
# HP_APAPORT_KEY[1]=5
# HP_APAPORT_CONFIG_MODE[1]=LACP_AUTO
#
# HP_APAPORT_INTERFACE_NAME[2]=lan2
# HP_APAPORT_CONFIG_MODE[2]=LAN_MONITOR
#
#
#####################################################################


###########################################################################
# The HP_APAPORT_INIT_ARGS are reserved by HP. They are NOT user changable.

HP_APAPORT_INIT_ARGS="HP_APAPORT_GROUP_CAPABILITY HP_APAPORT_PRIORITY HP_APAPORT_CONFIG_MODE HP_APAPORT_KEY HP_APAPORT_SYSTEM_PRIORITY"

HP_APAPORT_INTERFACE_NAME[0]=lan0
HP_APAPORT_GROUP_CAPABILITY[0]=5
HP_APAPORT_KEY[0]=900
HP_APAPORT_PRIORITY[0]=0
HP_APAPORT_CONFIG_MODE[0]=MANUAL
HP_APAPORT_SYSTEM_PRIORITY[0]=0

HP_APAPORT_INTERFACE_NAME[1]=lan1
HP_APAPORT_GROUP_CAPABILITY[1]=5
HP_APAPORT_KEY[1]=900
HP_APAPORT_PRIORITY[1]=0
HP_APAPORT_CONFIG_MODE[1]=LACP_AUTO
HP_APAPORT_SYSTEM_PRIORITY[1]=0

HP_APAPORT_INTERFACE_NAME[2]=lan2
HP_APAPORT_GROUP_CAPABILITY[2]=5
HP_APAPORT_KEY[2]=900
HP_APAPORT_PRIORITY[2]=0
HP_APAPORT_CONFIG_MODE[2]=LACP_AUTO
HP_APAPORT_SYSTEM_PRIORITY[2]=0

HP_APAPORT_INTERFACE_NAME[3]=lan6
HP_APAPORT_GROUP_CAPABILITY[3]=5
HP_APAPORT_KEY[3]=901
HP_APAPORT_PRIORITY[3]=0
HP_APAPORT_CONFIG_MODE[3]=LACP_AUTO
HP_APAPORT_SYSTEM_PRIORITY[3]=0

HP_APAPORT_INTERFACE_NAME[4]=lan7
HP_APAPORT_GROUP_CAPABILITY[4]=5
HP_APAPORT_KEY[4]=901
HP_APAPORT_PRIORITY[4]=0
HP_APAPORT_CONFIG_MODE[4]=LACP_AUTO
HP_APAPORT_SYSTEM_PRIORITY[4]=0

#HP_APAPORT_INTERFACE_NAME[5]=lan8
#HP_APAPORT_GROUP_CAPABILITY[5]=5
#HP_APAPORT_KEY[5]=902
#HP_APAPORT_PRIORITY[5]=0
#HP_APAPORT_CONFIG_MODE[5]=MANUAL
#HP_APAPORT_SYSTEM_PRIORITY[5]=0

#HP_APAPORT_INTERFACE_NAME[6]=lan9
#HP_APAPORT_GROUP_CAPABILITY[6]=5
#HP_APAPORT_KEY[6]=902
#HP_APAPORT_PRIORITY[6]=0
#HP_APAPORT_CONFIG_MODE[6]=MANUAL
#HP_APAPORT_SYSTEM_PRIORITY[6]=0

# End of hp_apaportconf configuration file

4 REPLIES 4
Highlighted
Bhagw_p
HPE Pro

Re: Impossible to delete an Auto Port Aggregation with smh

Hello AntonyZEL,

 

First let me apologize for the delay in our reply.

 

I understand that you have created APA lan902 for testing purpose and deleted using nwmgr command (# nwmgr -d -A links=all -c 902) and got successful message. However you still see lan902 in SMH. Am I correct?

The command used to delete APA aggregate is correct.

you can also check for CRA (critcal Resources Analysis). Before removing one link aggregate it is highly recommended to check if there is any application using it.

# nwmgr --cra -c lan902

You cannot completly remove lan900 to lan904 from the nwmgr / smh output.

By default it will show 5 aggregates. If the aggregates are not configured it will display down under interface staus for nwmgr.

# nwmgr

Name/          Interface Station          Sub-   Interface      Related
ClassInstance  State     Address        system   Type           Interface
============== ========= ============== ======== ============== =========

lan900         DOWN      0x000000000000 hp_apa   hp_apa
lan901         DOWN      0x000000000000 hp_apa   hp_apa
lan902         DOWN      0x000000000000 hp_apa   hp_apa
lan903         DOWN      0x000000000000 hp_apa   hp_apa
lan904         DOWN      0x000000000000 hp_apa   hp_apa

# nwmgr -S apa
Class    Mode        Load      Speed-               Membership
Instance             Balancing Duplex
======== =========== ========= ==================== ===========================
lan900   Not_Enabled LB_PORT   0.000000 Mbps         -
lan901   Not_Enabled LB_PORT   0.000000 Mbps         -
lan902   Not_Enabled LB_PORT   0.000000 Mbps         -
lan903   Not_Enabled LB_PORT   0.000000 Mbps         -
lan904   Not_Enabled LB_PORT   0.000000 Mbps         -

Hope this clarifies.

Accept or Kudo

Highlighted
AntonyZEL
Occasional Contributor

Re: Impossible to delete an Auto Port Aggregation with smh

Thank you for your answer.

Here is the result of the command. I think the link is properly deleted, but the problem is in the smh menu.

spar-mfgr1:/ # nwmgr

Name/ Interface Station Sub- Interface Related
ClassInstance State Address system Type Interface
============== ========= ============== ======== ============== =========
lan0 DOWN 0x1402EC7AEC2A iether 1000Base-T
lan1 UP 0x1402EC7AEC2B iether 1000Base-T lan900
lan2 UP 0x1402EC7AEC2B iether 1000Base-T lan900
lan3 DOWN 0x1402EC79DB0D iether 1000Base-T
lan6 UP 0xD0BF9C406A06 iether 1000Base-T lan901
lan7 UP 0xD0BF9C406A06 iether 1000Base-T lan901
lan8 DOWN 0xD0BF9C408A20 iether 1000Base-T
lan9 DOWN 0xD0BF9C408A21 iether 1000Base-T
lan900 UP 0x1402EC7AEC2B hp_apa hp_apa
lan901 UP 0xD0BF9C406A06 hp_apa hp_apa
lan902 DOWN 0x000000000000 hp_apa hp_apa
lan903 DOWN 0x000000000000 hp_apa hp_apa
lan904 DOWN 0x000000000000 hp_apa hp_apa
spar-mfgr1:/ # nwmgr -S apa
Class Mode Load Speed- Membership
Instance Balancing Duplex
======== =========== ========= ==================== ===========================
lan900 LACP_AUTO LB_MAC 2.000000 Gbps Full Duplex1,2
lan901 LACP_AUTO LB_MAC 2.000000 Gbps Full Duplex6,7
lan902 Not_Enabled LB_MAC 0.000000 Mbps -
lan903 Not_Enabled LB_MAC 0.000000 Mbps -
lan904 Not_Enabled LB_MAC 0.000000 Mbps -

 

In the smh menu, it creates a session here : /var/sam/sessiondirs/root. The ApaMainScreen.menu contain : 

<cmenu >
<setsel name="SELECTED_INTERFACE" colNumber="1"/>

<header>

<text selectable="false" align="center" >SMH-> Networking and Communications-> Network Interfaces Configuration-> Auto Port Aggregation</text>

</header>

<list selection="single" lockedrows="1" lockedrowssep="-" >

<text selectable="true" >Interface Name Subsystem Interface State Ports in Link Aggregate Mode IPv4 Address IPv6 Address </text>

<text selectable="true" >lan900 hp_apa UP 1,2 LACP_AUTO xxx.xxx.xxx.xxx Not Configured </text>

<text selectable="true" >lan901 hp_apa UP 6,7 LACP_AUTO xxx.xxx.xxx.xxx Not Configured </text>

<text selectable="true" >lan0 iether DOWN Standalone MANUAL Not Configured Not Configured </text>

<text selectable="true" >lan3 iether DOWN Standalone MANUAL Not Configured Not Configured </text>

<text selectable="true" >lan8 iether DOWN Standalone MANUAL Not Configured Not Configured </text>

<text selectable="true" >lan9 iether DOWN Standalone MANUAL Not Configured Not Configured </text>

<text selectable="true" >lan902 hp_apa DOWN None Not_Enabled Not Configured Not Configured </text>

</list>

The file ApaMainScreen.menu is created dynamically each time we opan sam/smh.

Can you tell me which file is used to generate the menu ? Why smh create a menu with lan902 ?

 

Thanks,

Regards,

 

Highlighted
Bhagw_p
HPE Pro

Re: Impossible to delete an Auto Port Aggregation with smh

Hello AntonyZEL,

 

I simulated this in my test box. I created a dummy APA aggregate lan900 only with lan3 successfully using SMH.

I was able to successfully delete it in SMH and after refresh, it is not showing up.


                                                       SMH-> Networking and Communications-> Network Interfaces Configuration-> Auto Port Aggregation
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Interface Name   Subsystem   Interface State   Ports in Link Aggregate   Mode     IPv4 Address     IPv6 Address
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
lan900           hp_apa      UP                3                         MANUAL   Not Configured   Not Configured
lan0             igelan      UP                Standalone                MANUAL   0.0.0.0          Not Configured
lan1             iether      UP                Standalone                MANUAL   0.0.0.0          Not Configured
lan2             iether      UP                Standalone                MANUAL   10.154.30.120    Not Configured

root@rxb10u00:/# nwmgr -S apa
Class    Mode        Load      Speed-               Membership
Instance             Balancing Duplex
======== =========== ========= ==================== ===========================
lan900   MANUAL      LB_MAC    100 Mbps Full Duplex 3

                                                                                          Modify APA Attributes
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Operation Successful

Deletion of links all ports from lan900 succeeded.
Successfully saved the entire APA configuration.

[ OK ]

                                                       SMH-> Networking and Communications-> Network Interfaces Configuration-> Auto Port Aggregation
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Interface Name   Subsystem   Interface State   Ports in Link Aggregate   Mode     IPv4 Address     IPv6 Address
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
lan0             igelan      UP                Standalone                MANUAL   0.0.0.0          Not Configured
lan1             iether      UP                Standalone                MANUAL   0.0.0.0          Not Configured
lan2             iether      UP                Standalone                MANUAL   10.154.30.120    Not Configured
lan3             iether      UP                Standalone                MANUAL   Not Configured   Not Configured

root@rxb10u00:/# swlist -l fileset | grep -i NetworkConfig
# NetworkConfig                         B.11.31.15     NetworkConfig X/Web management tool
  NetworkConfig.NCWEB-OBAM              B.11.31.15     NetworkConfig X based services
  NetworkConfig.NCWEB-TUI_IA            B.11.31.15     NetworkConfig X based services
  NetworkConfig.NCWEB-WEB_IA            B.11.31.15     NetworkConfig Web based services
  NetworkConfig.NDP_GUI_IA              B.11.31.15     IPv6 Neighbor Discovery cache Management Services
  NetworkConfig.SHARE_GUI_IA            B.11.31.15     Share File System Management Services
  NetworkConfig.SHARE_TUI_IA            B.11.31.15     Share File System Management Services

// The latest ver of ncweb is B.11.31.20
https://h20392.www2.hpe.com/portal/swdepot/displayProductInfo.do?productNumber=NetworkConf

root@rxb10u00:/# swlist | grep -i auto
  J4240AA                       B.11.31.1303   Auto-Port Aggregation Software

// The latest version of APA is B.11.31.1711
https://h20392.www2.hpe.com/portal/swdepot/displayProductInfo.do?productNumber=HPUX-APA

root@rxb10u00:/# swlist | grep -i smh
  SysMgmtPlus                   A.09.00.02.01  HP-UX SMH Supplemental Functionality
SysMgmtPlus - March 2014 - https://h20392.www2.hpe.com/portal/swdepot/displayProductInfo.do?productNumber=SysMgmtPlus
root@rxb10u00:/# swlist | grep -i SysMgmtWeb
  SysMgmtWeb                    A.3.2.5        HP-UX Web Based System Management User Interfaces

SysMgmtWeb - A.3.2.11.03.01 - https://h20392.www2.hpe.com/portal/swdepot/displayProductInfo.do?productNumber=SysMgmtWeb

-------------------------------------------------------------------------------------------------------

1)  May I know the impact due to this issue?

2) Is it working with other HP-UX servers? If yes, are the other servers are in same patch level wrt ncweb, smh?

3) I was able to successfully delete the APA info from SMH. I've mentioned the patch and ver of ncweb and SMH.

4) Please update the above mentioned updates and check if the issue persists.

Hope this helps.

 

Regards

Accept or Kudo

Highlighted
AntonyZEL
Occasional Contributor
Solution

Re: Impossible to delete an Auto Port Aggregation with smh

Thank you very much Bhagw_p for the time you took for this problem.

I've rebooted de server and now the lan902 is no longer displayed in SMH.

Thanks,

Regards !