HP-UX - Configure APA Failover Group Using nwmgr

HP-UX、Linux、Tru64 UNIX、NonStop、OpenVMS、Windows Server等,数据中心、虚拟化方案等

版主: xyevolve

版面规则
1. 本版是定位于惠普软件系统及解决方案的技术讨论区。
2. 本版鼓励发帖共同讨论技术问题,不鼓励站内信件私下交流,独知知不如众知知。
3. 本版允许转贴或引用他人的作品,但必须声明原作者信息。
4. 本版禁止发表出售、求购、或其他非技术讨论等帖子。
5. 本版禁止灌水,包括但不限于任何与所讨论主题无关的回复,无意义字符,直接复制其他回复等。
6. 本站附件禁止用于商业目的,请在下载后24小时内删除,本站不对其造成的结果负任何责任。
回复
SYSTEM
网站编辑
帖子: 265
注册时间: 2012年 2月 20日 15:45 星期一

HP-UX - Configure APA Failover Group Using nwmgr

帖子 SYSTEM » 2014年 11月 17日 09:51 星期一

NOTE: These instructions are for creating a failover group. HP APA provides other aggregate options. Detailed information about those options and how to configure those groups is available in the HP Auto Port Aggregation Administrator's Guide: HP-UX 11i v3.

STEPS:

1. Use nwmgr to create a failover group.

nwmgr -a -A links=ppa1,ppa2,... -A mode=LAN_MONITOR [-A attr1=value1,attr2=value2,...] { -c lan aggregate_instance | -I aggregate_instance } [-f] -S apa

NOTE: Attributes available for failover groups are: poll_interval, dead_count, rapid_arp, rapid_arp_interval, rapid_arp_count, port_pri, port_cost. Refer to the Attributes section of the nwmgr_apa manpage for detailed information about the attributes. Any attributes not explicitly set will get their default values.

For example:

nwmgr -a -A links=1,2 -A mode=LAN_MONITOR -I 900 -S apa



2. Use nwmgr to save the APA configuration so it will be persistent across reboots.

For example, to save all current APA settings, including all interfaces created:

nwmgr -s -A all --from cu --sa -S apa



To save the specific interface:

nwmgr -s -c lan900 -A attr=value,… -S apa



3. If VLAN tagging is used on this group, stop here and follow the instructions for adding a VLAN interface.

4. Edit the /etc/rc.config.d/netconf file to add the IP configuration for the failover group.

For example:

INTERFACE_NAME[1]=”lan900”
IP_ADDRESS[1]=”192.6.1.1”
SUBNET_MASK[1]=”255.255.224.0”
BROADCAST_ADDRESS[1]=””
INTERFACE_STATE[1]=””
DHCP_ENABLE[1]=”0”

NOTE: The index value must be different for each interface.

5. Restart the network.

# /sbin/init.d/net stop
# /sbin/init.d/hpapa stop

# /sbin/init.d/hpapa start
# /sbin/init.d/net start

NOTE: If you experience problems with the network, you should reboot the server. Restarting portions of the network may not correctly re-initialize other network subsystems.

回复