NetScaler Best Practice With VMAC In A High Availability Configuration
NetScaler Best Practice With VMAC In A High Availability Configuration
https://www.citrix.com/blogs/2015/01/05/netscaler-best-practice-with-vmac-in-a-high-availability-configuration/
The NetScaler appliance is an extremely flexible application delivery controller (ADC). With the default configuration in place, the NetScaler IP addresses are ‘floating’, which means that they are not restricted to any particular interface. Additionally with a High Availability (HA) configuration in place, all of the NetScaler-owned IP addresses (apart from the NSIP – the NetScaler IP Address) will be shared across the HA pair. This will include SNIP’s, MIP’s (decremented) and VIP’s.
When the HA pair experiences a failover, whether forced or not, the NetScaler will GARP (gratuitous ARP) the new IP-to-MAC address binding for the newly established Primary NetScaler. More details about GARP can be found here: http://support.citrix.com/article/ctx109980. This GARP behavior is to advertise to partner-attached NetScaler devices that the IP-to-MAC address has changed, and hence forward traffic to the new Primary NetScaler.
The NetScaler MAC addresses are not floating by default; just the IP addresses. This may cause issues with an older network switch connected to the NetScaler, or perhaps a firewall (FW) that does not understand GARP. In the event that a switch or FW does not understand GARP, or may not be able to keep up with the rate at which the GARP’s are sent during an HA failover event (approximately 200/s), the NetScaler can be configured with VMAC to create a floating MAC address to pair up with the floating IP addresses. This will solve the potential issues associated with GARP’s from the NetScaler.
When the HA failover event occurs, the NetScaler will continue to advertise GARPs, but the downstream devices will not see a new IP-to-MAC address binding, and as such will continue to forward traffic to the known IP/MAC address, preventing the network from ‘black-holing’ the packets.
To configure VMAC on your NetScaler HA pair, please follow the example provided below. As a note, the VRID configured below will basically change the MAC address for each respective interface configured on, and then will be a floating MAC across the HA pair):
To configure VMAC on a NetScaler appliance, complete the following procedure:
Run the following command to create a VRID (Virtual Router ID):
> add vrid <Number>
Run the following command to bind the VRID to an interface:
>bind vrid <Number> -ifnum <Interface_Number>
If you need to display the VMAC configured, run the following command:
> show vrid <Number>
If you need to unbind the VRID from an interface, run the following commands:
> unbind vrid <vrid number> <Interface_Number>
If you want to remove the VMAC, run the following command:
> rm vrid <Number>
Note: There is no need to reboot the NetScaler Appliance after VMAC is configured.
Resources:
How to Configure VMAC on a NetScaler Appliance: http://support.citrix.com/article/CTX121681
VMAC Addresses for NetScaler VPX Appliance Hosted on VMWare EsXi: http://support.citrix.com/article/CTX129008
Recommended Settings and Best Practices for a Generic Implementation of a NetScaler Appliance: http://support.citrix.com/article/CTX121149
============================ End
https://support.citrix.com/article/CTX121149
Recommended Settings and Best Practices for Generic Implementation of a NetScaler Appliance
Applicable Produ
Information
Recommended Settings for a Generic Implementation of a NetScaler Appliance
The following sections contain the recommended settings for a generic implementation of some features of a NetScaler appliance:
- Modes
- Features
- Global System Settings
- HTTP Parameters
- SNMP Alarms
- Network Interfaces
- General Best Practices
Modes
To configure the modes on an appliance, complete the following procedure:
Expand the System node of the Navigation pane on the appliance.
- Select the Settings node.
In the details pane, under Modes and Features, click Configure modes.
Select the Fast Ramp option.
Note: With Fast-Ramp enabled the NetScaler starts with the congestion window of the freshest server connection. For more information refer to Citrix Blog.Clear the Layer 2 Mode option.
Note: Select this mode if servers are connected directly to the appliance or if the appliance is used as a transparent bridge.Select the Use Source IP option.
Note: Select this mode only if an application requires the source IP address.Clear the Client Keep-Alive option.
Note: Applications can stop working due to optimization. Select this option only when there are performance issues.Clear the TCP Buffering option.
Note: If the network does not support Window Scaling and there are performance issues, select this option.Clear the MAC Based Forwarding option.
Note: If you are using one-arm configuration, then select this option.Select the Use Subnet IP option.
Note: Always select this option unless specific requirements of the network set up do not require it.Select the Layer 3 Mode (IP Forwarding) option.
Note: If there are security issues and you want to use the appliance as a firewall, then clear this option.Select the Path MTU Discovery option. This mode helps avoid fragmentation of packets.
Clear the Static Route Advertisement option.
Note: If you are using the dynamic routing feature, select this option.Clear the Direct Route Advertisement option.
Clear the Intranet Route Advertisement option.
Clear the Ipv6 Static Route Advertisement option.
Clear the Ipv6 Direct Route Advertisement option.
Clear the Bridge BPDUs option.
Features
For information on the features available and how to enable them on NetScaler, refer to CTX122942 - How to Activate Various Features and Modes of a NetScaler Appliance.
Note: Enabling features impacts the performance of the NetScaler appliance. Enable only the features that you want to use.
Global System Settings
To configure the global system settings on an appliance, complete the following procedure:
Expand the System node of the Navigation pane on the appliance.
Select the Settings node.
Click the Change global system settings link on the Settings page.
Select the Window Scaling option.
Note: Clear the Window Scaling option only if it is not supported by the network.
In NetScaler 10.5, 11.0 and 11.1 builds the "Window Scaling" option is under System > Settings > Change TCP Parameters.Select the Selective Acknowledgment option.
Note: Clear this option only if the Window Scaling option is clear.
In NetScaler 10.5, 11.0 and 11.1 builds the "Selective Acknowledgment" option is under System > Settings > Change TCP Parameters.Select the Use Nagle’s algorithm option.
Note: Select this option to use ICA or for heavy flow of small packets.
In NetScaler 10.5, 11.0 and 11.1 builds the "Nagle’s algorithm" option is under System > Settings > Change TCP Parameters.Select the Enable RNAT TCP Proxy option.
HTTP Parameters
To configure the HTTP parameters of an appliance, complete the following procedure:
Expand the System node of the Navigation pane on the appliance.
Select the Settings node.
Click the Change HTTP parameters link on the Settings page.
Select the Version 1 option.
Note: Select the Version 0 option only if the environment has earlier releases of web browser that do not support Cookie Version 1.Select the Drop invalid HTTP requests option.
Ensure that you always select this option. It helps in detecting the invalid HTTP headers.
NOTE: This can cause some resources not to load through a Vserver, so be sure to thoroughly test after enabling. If you have subsequent issues accessing resources, disable this setting and test.
SNMP Alarms
To configure the recommended settings for Simple Network Management Protocol (SNMP) Alarms on an appliance, complete the following procedure:
Expand the System node of the Navigation pane on the appliance.
Expand the SNMP node.
Select the Alarms node.
Select the CPU-USAGE alarm in the SNMP Alarms page.
Configure the following options in the Configure SNMP Alarm dialog box:
Type 95 in the Alarm Threshold field.
Type 35 in the Normal Threshold field.
Select Informational from the Severity list.
Select the Enable option.
Click OK.
Select the MEMORY alarm and click Open.
Configure the following options in the Configure SNMP Alarm dialog box:
Type 95 in the Alarm Threshold field.
Note: If this threshold is reached, then force failover the appliance. If it happens again, then contact Citrix Technical Support.Type 35 in the Normal Threshold field.
Select Critical from the Severity list.
Select Enabled from the Logging list.
Select the Enable option.
Network Interfaces
To configure the network interfaces on an appliance, complete the following procedure:
Expand the Network node of the Navigation pane on the appliance.
Select the Interfaces node.
Select the interface not in use and click Disable.
Repeat this step for each interface that is not in use.Disable High Availability Monitoring on all disabled interfaces and on the enabled interface that does not require High Availability Monitoring. To disable High Availability Monitoring on an interface, complete the following procedure:
Select the interface.
Select the OFF option for HA Monitoring.
Click OK.
General Best Practices
The following is a list of best practices for a generic implementation of an appliance:
Disable any feature or option that you are not using on the appliance.
In NetScaler MPX appliance models, management ports 0/1 and 0/2 are only intended for administration of the appliance.
In NetScaler 9000, 9010, and 10000 appliances, rear facing management port 0/1 is only intended for administration of the appliance.
In NetScaler 7000 appliance, ports 1/1 through 1/6 are designed to function as 100 Mbps ports.
For VLAN and core networking, please refer to NetScaler Networking and VLAN Best Practices
Additional Resources
For command reference, refer to Citrix Documentation - Command Reference.
Additional Resources
============================ End
NetScaler Best Practice With VMAC In A High Availability Configuration的更多相关文章
- SNMP OID Reference - NetScaler 10
SNMP OID Reference - NetScaler 10 https://docs.citrix.com/content/dam/docs/en-us/netscaler/10/downlo ...
- RAC的QA
RAC: Frequently Asked Questions [ID 220970.1] 修改时间 13-JAN-2011 类型 FAQ 状态 PUBLISHED Appli ...
- Log4j – Configuring Log4j 2 - Log4j 2的配置
Configuration Inserting log requests into the application code requires a fair amount of planning an ...
- 转 rman-08120 以及查询隐含参数
rman-08120 We need RMAN to automatically purge archivelogs from the FRA once they are applied to the ...
- Windows平台CUDA开发之前的准备工作
CUDA是NVIDIA的GPU开发工具,眼下在大规模并行计算领域有着广泛应用. windows平台上面的CUDA开发之前.最好去NVIDIA官网查看说明,然后下载对应的driver. ToolKits ...
- SDX Instance Resource Assignment Guide 1 of 2
SDX Instance Resource Assignment Guide 1 of 2 Memory and vCPU Requirements for NetScaler VPX https:/ ...
- 利用VRID/VMAC实现更安全的netscaler HA故障切换
利用VRID/VMAC实现更安全的netscaler HA故障切换 virtual MAC在故障切换(failover)中的作用. 在一个HA模式中,首要节点(primary node)拥有所有 ...
- Spanning Tree Protocol (STP) in NetScaler Appliance
Spanning Tree Protocol (STP) in NetScaler Appliance 来源 https://support.citrix.com/article/CTX112341 ...
- NetScaler + Wireshark = A Perfect Combination!
NetScaler + Wireshark = A Perfect Combination! https://www.citrix.com/blogs/2014/05/03/netscaler-wir ...
随机推荐
- 【NAS】CIFS用户场景需求分析
1.everyone用户 1.1: 场景描述:共享目录为rule,所有用户都可以查看,但是不能修改: 解决方法:在smb.conf里配置read only = yes,具体示例如下: [rule] p ...
- 【LG4175】[CTSC2008]网络管理
[LG4175][CTSC2008]网络管理 题面 洛谷 题解 感觉就和普通的整体二分差不太多啊... 树上修改就按时间添加,用树状数组维护一下即可 代码 #include<iostream&g ...
- 一对多,多的逗号分隔存在新字段中(Group_concat 用法)
sql 语句: SELECT ( SELECT Group_concat(t_work_group_user.user_id) FROM ...
- Katalon 学习笔记(一)
工具介绍: Katalon Studio是一个能提供一整套功能来实现Web,API和Mobile的全自动测试解决方案的自动化测试平台.Katalon Studio构建于开源Selenium和App ...
- Python简要标准库(2)
集合 堆 和 双端队列 1.集合 创建集合 s = set(range(10)) 和字典一样,集合元素的顺序是随意的,因此不能以元素的顺序作为依据编程 集合支持的运算 a = set([1,2,3]) ...
- Vue动画效果
1.哪些元素/那些组件适合在那些条件下实现动画效果 条件渲染 (使用 v-if) 条件展示 (使用 v-show) 动态组件 组件根节点 简单经典例子:(文字隐藏到显示效果) <div> ...
- Memcache的客户端连接系列(二) Python
关键词: Memcached Python 客户端 声明:本文并非原创,转自华为云帮助中心的分布式缓存服务(Memcached)的用户指南.客户端连接方法通用,故摘抄过来分享给大家. Python ...
- 技能get,React的优雅升级!
今日,我们不啖鸡汤,不饮鸡血 只有干货——关于React的优雅升级 双手奉上,来,干了! -2019年第4期- 夫 子 说 本次升级基础包情况:react 15.6 -> 16.6 升级流程: ...
- 开源自动驾驶仿真平台 AirSim (3) - 运行 AirSim
AirSim 的官方 Github: https://github.com/Microsoft/AirSim 之前配置了很多,终于要让 AirSim 自己跑起来了. 我们需要把 AirSim 这个插件 ...
- PHPCMS v9表单向导中怎么加入验证码
表单想到比较简单,所以没有加入验证码的功能.网上的类似教程又大多数不准确.所以亲自测试了一下,发现下面的方法是可用的.希望对有需求的朋友们有所帮助. 1.首先是调用表单的页面加入验证码.表单js调用模 ...